From: David Miller <davem@davemloft.net> Date: 2012-08-10 21:09:27
From: Eric Dumazet <redacted>
Date: Fri, 10 Aug 2012 14:22:47 +0200
From: Eric Dumazet <edumazet@google.com>
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>