diff options
author | Florin Malita <fmalita@gmail.com> | 2006-06-04 02:51:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-05 12:29:15 -0700 |
commit | 6f258910733a8dbde368acc2ede4b8184ff0e09a (patch) | |
tree | 1c56af63b46fc80a8ebe509c0be1deb94f2f5849 /drivers/char/sysrq.c | |
parent | 50ff06d1546d7f492068dd5196c26bf2cc5080b1 (diff) |
[PATCH] nmclan_cs: dereferencing skb after netif_rx()
From: Florin Malita <fmalita@gmail.com>
The skb may be gone after netif_rx(), we can't use 'skb->len' to update the
stats. 'pkt_len' should work instead.
Coverity CID: 911.
Signed-off-by: Florin Malita <fmalita@gmail.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/sysrq.c')
0 files changed, 0 insertions, 0 deletions