diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-02-23 11:55:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-23 22:50:45 +0100 |
commit | 03606895cd98c0a628b17324fd7b5ff15db7e3cd (patch) | |
tree | 26aab95243f23a5d0cff45ee0d6afd1608afe5df /net/mac80211 | |
parent | Merge branch 'nf' of git://1984.lsi.us.es/net (diff) | |
download | linux-03606895cd98c0a628b17324fd7b5ff15db7e3cd.tar.xz linux-03606895cd98c0a628b17324fd7b5ff15db7e3cd.zip |
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>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions