https://github.com/torvalds/linux
Revision b5ec8eeac46a99004c26791f70b15d001e970acf authored by Eric Dumazet on 10 August 2012, 02:22:47 UTC, committed by David S. Miller on 10 August 2012, 21:08:57 UTC
ip_send_skb() can send orphaned skb, so we must pass the net pointer to
avoid possible NULL dereference in error path.

Bug added by commit 3a7c384ffd57 (ipv4: tcp: unicast_sock should not
land outside of TCP stack)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 63d02d1
History
Tip revision: b5ec8eeac46a99004c26791f70b15d001e970acf authored by Eric Dumazet on 10 August 2012, 02:22:47 UTC
ipv4: fix ip_send_skb()
Tip revision: b5ec8ee
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.4 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top