]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite89862f4c5b3c4ac9afcd8cb1365d2f1e16ddc3b
treef402fe7326021a371e11c2c59b7aaf1b12d300d3
parentd5e76b0a280f71b20bdd20d1c1b4d6812ceb8c3a
[TCP]: Restore SKB socket owner setting in tcp_transmit_skb().

Revert 931731123a103cfb3f70ac4b7abfc71d94ba1f03

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