summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@marvell.com>2008-11-10 21:45:05 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-10 21:45:05 -0800
commit5cd33db2120b5ce972568711156f91da83bff2d7 (patch)
tree764e7b41ee2ffdf0e42a7dd005ece814ce88680d /net/wireless/reg.c
parentb971e7ac834e9f4bda96d5a96ae9abccd01c1dd8 (diff)
downloadkernel-crypto-5cd33db2120b5ce972568711156f91da83bff2d7.tar.gz
kernel-crypto-5cd33db2120b5ce972568711156f91da83bff2d7.tar.xz
kernel-crypto-5cd33db2120b5ce972568711156f91da83bff2d7.zip
net: fix setting of skb->tail in skb_recycle_check()
Since skb_reset_tail_pointer() reads skb->data, we need to set skb->data before calling skb_reset_tail_pointer(). This was causing spurious skb_over_panic()s from skb_put() being called on a recycled skb that had its skb->tail set to beyond where it should have been. Bug report from Peter van Valderen <linux@ddcrew.com>. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions