Bug#660804: [PATCH V2] ipsec: be careful of non existing mac headers

2012-02-23 Thread David Miller
From: Eric Dumazet Date: Thu, 23 Feb 2012 21:55:02 +0100 > 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=42

Bug#660804: [PATCH V2] ipsec: be careful of non existing mac headers

2012-02-23 Thread Eric Dumazet
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 Tested-by: Niccolò Belli Signed-off-b