diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2015-09-11 18:39:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-11 15:08:20 -0700 |
commit | c2d4fbd2163e607915cc05798ce7fb7f31117cc1 (patch) | |
tree | de70128e6dba1bc818a614bcfe776c94367a5c40 /net/wireless/wext-spy.c | |
parent | a19a19de8310fb8ca2ca0621a9db1aab082943c5 (diff) |
bridge: fix igmpv3 / mldv2 report parsing
With the newly introduced helper functions the skb pulling is hidden in
the checksumming function - and undone before returning to the caller.
The IGMPv3 and MLDv2 report parsing functions in the bridge still
assumed that the skb is pointing to the beginning of the IGMP/MLD
message while it is now kept at the beginning of the IPv4/6 header,
breaking the message parsing and creating packet loss.
Fixing this by taking the offset between IP and IGMP/MLD header into
account, too.
Fixes: 9afd85c9e455 ("net: Export IGMP/MLD message validation code")
Reported-by: Tobias Powalowski <tobias.powalowski@googlemail.com>
Tested-by: Tobias Powalowski <tobias.powalowski@googlemail.com>
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/wext-spy.c')
0 files changed, 0 insertions, 0 deletions