https://github.com/torvalds/linux
Revision 11faa7b0359aaf7efd406b7a6a077fda2b037d8e authored by Dan Carpenter on 21 April 2017, 10:49:37 UTC, committed by David S. Miller on 24 April 2017, 16:38:03 UTC
We dereference "skb" to get "skb->len" so we should probably do that
step before freeing the skb.

Fixes: eea221ce4880 ("tc35815 driver update (take 2)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1510d72
History
Tip revision: 11faa7b0359aaf7efd406b7a6a077fda2b037d8e authored by Dan Carpenter on 21 April 2017, 10:49:37 UTC
net: tc35815: move free after the dereference
Tip revision: 11faa7b
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.0 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 389.8 KB
Makefile -rw-r--r-- 57.8 KB
README -rw-r--r-- 722 bytes

README

back to top