diff options
| author | Mahesh Bandewar <maheshb@google.com> | 2020-03-09 15:56:56 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 09:06:21 +0100 |
| commit | 85a45e23770fc0a2b279ff34c597b53e41582893 (patch) | |
| tree | 20936412efe7d84950b8be295f028c018214f4d3 /scripts | |
| parent | ad4e61b9faea41c4ee20f81cf2d2f52d369bdce1 (diff) | |
ipvlan: don't deref eth hdr before checking it's set
[ Upstream commit ad8192767c9f9cf97da57b9ffcea70fb100febef ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
