diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-30 08:05:36 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-30 08:06:57 -0300 |
commit | 26ac02527f3475a05770da09872259d9ea6eca21 (patch) | |
tree | 64535c362ab8bfe26b85b3881ac60ce8f28d8e89 /kernels/linux-libre-pae/0001-fix-bridge-regression.patch | |
parent | 44006ac3d71fb4c1ee2bca9560d578991bc4b501 (diff) |
linux-libre-{pae,xen}-4.2.1_gnu-1: updating version
Diffstat (limited to 'kernels/linux-libre-pae/0001-fix-bridge-regression.patch')
-rw-r--r-- | kernels/linux-libre-pae/0001-fix-bridge-regression.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kernels/linux-libre-pae/0001-fix-bridge-regression.patch b/kernels/linux-libre-pae/0001-fix-bridge-regression.patch new file mode 100644 index 000000000..250dfcbcf --- /dev/null +++ b/kernels/linux-libre-pae/0001-fix-bridge-regression.patch @@ -0,0 +1,25 @@ +@@ -, +, @@ +--- + net/bridge/br_multicast.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) +--- a/net/bridge/br_multicast.c ++++ a/net/bridge/br_multicast.c +@@ -991,7 +991,7 @@ static int br_ip4_multicast_igmp3_report(struct net_bridge *br, + + ih = igmpv3_report_hdr(skb); + num = ntohs(ih->ngrec); +- len = sizeof(*ih); ++ len = skb_transport_offset(skb) + sizeof(*ih); + + for (i = 0; i < num; i++) { + len += sizeof(*grec); +@@ -1052,7 +1052,7 @@ static int br_ip6_multicast_mld2_report(struct net_bridge *br, + + icmp6h = icmp6_hdr(skb); + num = ntohs(icmp6h->icmp6_dataun.un_data16[1]); +- len = sizeof(*icmp6h); ++ len = skb_transport_offset(skb) + sizeof(*icmp6h); + + for (i = 0; i < num; i++) { + __be16 *nsrcs, _nsrcs; +-- |