patch-2.2.5 linux/include/net/pkt_cls.h

Next file: linux/include/net/sock.h
Previous file: linux/include/linux/synclink.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/include/net/pkt_cls.h linux/include/net/pkt_cls.h
@@ -79,9 +79,8 @@
 
 extern __inline__ unsigned long cls_set_class(unsigned long *clp, unsigned long cl)
 {
-	net_serialize_enter();
 	cl = xchg(clp, cl);
-	net_serialize_leave();
+	synchronize_bh();
 	return cl;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)