From: Eric Dumazet Date: Thu, 23 Feb 2012 10:55:02 +0000 (+0000) Subject: ipsec: be careful of non existing mac headers X-Git-Tag: v3.2.12~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86e173ed3f6e5f9a37215449c0cb1167d13d490;p=pandora-kernel.git 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 Tested-by: Niccolò Belli Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed