diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-02-23 10:55:02 +0000 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2012-10-07 23:37:32 +0200 |
commit | d67f05eb15321bcfaa62d544a0f11d0015736caf (patch) | |
tree | b12fa7d187f55e8f5aa7c0a0a82750967fa0bd79 /drivers/block | |
parent | 3a40b4fe7b6f8b25ac3dc7af13e374ca56d9dfc8 (diff) |
ipsec: be careful of non existing mac headers
[ Upstream commit 03606895cd98c0a628b17324fd7b5ff15db7e3cd ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions