patch-2.4.19 linux-2.4.19/net/bridge/br_input.c

Next file: linux-2.4.19/net/core/Makefile
Previous file: linux-2.4.19/net/bridge/br_forward.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/net/bridge/br_input.c linux-2.4.19/net/bridge/br_input.c
@@ -161,8 +161,10 @@
 handle_special_frame:
 	if (!dest[5]) {
 		br_stp_handle_bpdu(skb);
+		read_unlock(&br->lock);
 		return;
 	}
 
+	read_unlock(&br->lock);
 	kfree_skb(skb);
 }

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