summaryrefslogtreecommitdiffstats
path: root/kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff')
-rw-r--r--kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff b/kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff
new file mode 100644
index 0000000..3c869ce
--- /dev/null
+++ b/kernel/patches/incremental-patches/v2.0/ebtables-v2.0.001_vs_2.4.20-pre7.001.diff
@@ -0,0 +1,14 @@
+--- linux-2.4.20-pre7/net/bridge/br_input.c Sun Sep 29 21:34:42 2002
++++ linux-2.4.20-pre7-ebt/net/bridge/br_input.c Sun Sep 29 21:24:37 2002
+@@ -149,8 +149,10 @@
+ goto handle_special_frame;
+
+ if (p->state == BR_STATE_FORWARDING) {
+- if (br_should_route_hook && br_should_route_hook(&skb))
++ if (br_should_route_hook && br_should_route_hook(&skb)) {
++ read_unlock(&br->lock);
+ return -1;
++ }
+
+ NF_HOOK(PF_BRIDGE, NF_BR_PRE_ROUTING, skb, skb->dev, NULL,
+ br_handle_frame_finish);