diff options
author | Eric Dumazet <[email protected]> | 2011-03-18 00:27:27 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-03-18 15:13:12 -0700 |
commit | d870bfb9d366c5d466c0f5419a4ec95a3f71ea8a (patch) | |
tree | 1058c527072d026721499e646765da0e92260444 /net/lapb/lapb_in.c | |
parent | 3a7da39d165e0c363c294feec119db1427032afd (diff) |
vlan: should take into account needed_headroom
Commit c95b819ad7 (gre: Use needed_headroom)
made gre use needed_headroom instead of hard_header_len
This uncover a bug in vlan code.
We should make sure vlan devices take into account their
real_dev->needed_headroom or we risk a crash in ipgre_header(), because
we dont have enough room to push IP header in skb.
Reported-by: Diddi Oscarsson <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: Herbert Xu <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions