aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-03-12 00:02:16 +0000
committerStuart Shelton <stuart@shelton.me>2015-03-12 00:03:47 +0000
commit5aa0a68a30323d812ea0ec845eab5a0376965a4b (patch)
treea3163e8fc895067304a3fac4b3959c115b31d552 /net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch
parentUpdate net-firewall/ebtables-9999 with ebt_among patch (diff)
downloadsrcshelton-5aa0a68a30323d812ea0ec845eab5a0376965a4b.tar.gz
srcshelton-5aa0a68a30323d812ea0ec845eab5a0376965a4b.tar.bz2
srcshelton-5aa0a68a30323d812ea0ec845eab5a0376965a4b.zip
Update net-firewall/ebtables-9999 with numerous bug-fixes, update README.md
Diffstat (limited to 'net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch')
-rw-r--r--net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch b/net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch
new file mode 100644
index 00000000..5e26a5ed
--- /dev/null
+++ b/net-firewall/ebtables/files/ebtables-2.0.10.4-libebtc.c.patch
@@ -0,0 +1,13 @@
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699827
+
+--- ebtables-2.0.10.4/libebtc.c 2011-12-15 21:02:47.000000000 +0100
++++ ebtables-2.0.10.4-patch/libebtc.c 2013-02-05 17:44:04.000000000 +0100
+@@ -1102,7 +1102,7 @@
+ /* check if we've dealt with this chain already */
+ if (entries2->hook_mask & (1<<i))
+ goto letscontinue;
+- entries2->hook_mask |= entries->hook_mask;
++ entries2->hook_mask |= entries->hook_mask & ~(1 << NF_BR_NUMHOOKS);
+ /* Jump to the chain, make sure we know how to get back */
+ stack[sp].chain_nr = chain_nr;
+ stack[sp].n = j;