From: Eric Dumazet Date: Fri, 10 Aug 2012 02:22:47 +0000 (+0000) Subject: ipv4: fix ip_send_skb() X-Git-Tag: v3.6-rc2~15^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ec8eeac46a99004c26791f70b15d001e970acf;p=pandora-kernel.git ipv4: fix ip_send_skb() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed