commit | b5ec8eeac46a99004c26791f70b15d001e970acf | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Aug 10 02:22:47 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 10 14:08:57 2012 -0700 |
tree | 8609d6c3e5e9504e6f084828b9b0f8a9084652e3 | |
parent | 63d02d157ec4124990258d66517b6c11fd6df0cf [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>