Eric Dumazet 03606895cd 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: Niccolò Belli <darkbasic@linuxsystems.it>
Tested-by: Niccolò Belli <darkbasic@linuxsystems.it>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-23 16:50:45 -05:00
..
2011-12-12 19:04:11 -05:00
2011-11-22 16:43:32 -05:00
2012-01-17 10:31:12 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2010-05-11 14:40:55 +02:00
2011-11-22 16:43:32 -05:00
2012-01-17 23:56:18 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2010-10-25 13:09:45 -07:00
2011-12-09 14:14:08 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00