Skip to content
Commit 03606895 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

ipsec: be careful of non existing mac headers

Niccolo Belli reported ipsec crashes in case we handle a frame without
mac header (atm in his case)

Before copying mac header, better make sure it is present.

Bugzilla reference:  https://bugzilla.kernel.org/show_bug.cgi?id=42809



Reported-by: default avatarNiccolò Belli <darkbasic@linuxsystems.it>
Tested-by: default avatarNiccolò Belli <darkbasic@linuxsystems.it>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4a2258dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment