diff options
author | Mahesh Bandewar <maheshb@google.com> | 2020-03-09 15:56:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-09 17:59:25 -0700 |
commit | ad8192767c9f9cf97da57b9ffcea70fb100febef (patch) | |
tree | 709ab896144397055fbbf3c5631548305b04a161 /drivers/net/dsa/mv88e6060.h | |
parent | 4b1bd9db078f7d5332c8601a2f5bd43cf0458fd4 (diff) |
ipvlan: don't deref eth hdr before checking it's set
IPvlan in L3 mode discards outbound multicast packets but performs
the check before ensuring the ether-header is set or not. This is
an error that Eric found through code browsing.
Fixes: 2ad7bf363841 (“ipvlan: Initial check-in of the IPVLAN driver.”)
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6060.h')
0 files changed, 0 insertions, 0 deletions