git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a9f65f
)
llc: Fix length check in llc_fixup_skb().
author
David S. Miller
<davem@davemloft.net>
Tue, 12 Apr 2011 01:59:05 +0000
(18:59 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Apr 2011 01:59:05 +0000
(18:59 -0700)
Fixes bugzilla #32872
The LLC stack pretends to support non-linear skbs but there is a
direct use of skb_tail_pointer() in llc_fixup_skb().
Use pskb_may_pull() to see if data_size bytes remain and can be
accessed linearly in the packet, instead of direct pointer checks.
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found