]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Restore SKB socket owner setting in tcp_transmit_skb().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 26 Jan 2007 09:04:55 +0000 (01:04 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 26 Jan 2007 09:04:55 +0000 (01:04 -0800)
commit2e8f4f3133799813c75bc6155ea09ee1172dda04
treef402fe7326021a371e11c2c59b7aaf1b12d300d3
parent17e09deefdab52d858eed37649e453a9f296f826
[TCP]: Restore SKB socket owner setting in tcp_transmit_skb().

Revert 8b454b611f68f1671cc64405ad1b5305dca12f89

We can't elide the skb_set_owner_w() here because things like certain
netfilter targets (such as owner MATCH) need a socket to be set on the
SKB for correct operation.

Thanks to Jan Engelhardt and other netfilter list members for
pointing this out.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet6_connection_sock.h
include/net/inet_connection_sock.h
include/net/ip.h
net/dccp/output.c
net/ipv4/ip_output.c
net/ipv4/tcp_output.c
net/ipv6/inet6_connection_sock.c
net/sctp/protocol.c