aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-01-19 11:50:46 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-22 16:16:05 -0500
commitad23b750933ea7bf962678972a286c78a8fa36aa (patch)
tree706e8d1d63144e2266cb3e04ab0f187fe55f6eb0 /drivers/net/ethernet/emulex/benet/be_main.c
parentgso: validate gso_type in GSO handlers (diff)
downloadlinux-dev-ad23b750933ea7bf962678972a286c78a8fa36aa.tar.xz
linux-dev-ad23b750933ea7bf962678972a286c78a8fa36aa.zip
net: igmp: fix source address check for IGMPv3 reports
Commit "net: igmp: Use correct source address on IGMPv3 reports" introduced a check to validate the source address of locally generated IGMPv3 packets. Instead of checking the local interface address directly, it uses inet_ifa_match(fl4->saddr, ifa), which checks if the address is on the local subnet (or equal to the point-to-point address if used). This breaks for point-to-point interfaces, so check against ifa->ifa_local directly. Cc: Kevin Cernekee <cernekee@chromium.org> Fixes: a46182b00290 ("net: igmp: Use correct source address on IGMPv3 reports") Reported-by: Sebastian Gottschall <s.gottschall@dd-wrt.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions