diff options
author | Florin Malita <fmalita@gmail.com> | 2006-06-04 05:51:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-05 15:29:15 -0400 |
commit | 6f258910733a8dbde368acc2ede4b8184ff0e09a (patch) | |
tree | 1c56af63b46fc80a8ebe509c0be1deb94f2f5849 /Documentation/CodingStyle | |
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 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions