[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 <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

父節點
27a884dc3c
當前提交
4305b54135
@@ -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);
|
||||
|
Reference in New Issue
Block a user