mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[SK_BUFF]: Convert skb->end to sk_buff_data_t
Now to convert the last one, skb->data, that will allow many simplifications and removal of some of the offset helpers. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
27a884dc3c
commit
4305b54135
15 changed files with 101 additions and 56 deletions
|
|
@ -595,7 +595,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
|
|||
if (frag != 0)
|
||||
flen -= hdrlen;
|
||||
|
||||
if (skb_tail_pointer(frag_skb) + flen > frag_skb->end) {
|
||||
if (frag_skb->tail + flen > frag_skb->end) {
|
||||
printk(KERN_WARNING "%s: host decrypted and "
|
||||
"reassembled frame did not fit skb\n",
|
||||
dev->name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue