net: reflect mark on tcp syn ack packets
authorJamal Hadi Salim <jhs@mojatatu.com>
Mon, 3 Jul 2017 13:51:50 +0000 (09:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2017 08:46:10 +0000 (01:46 -0700)
commite05a90ec9e1680952454ea9510da9a761a5baac9
tree617be3ef77be766ac9a8939d7b94f6f18d8d9d3d
parent8d32e0624392bb4abfbe122f754757a4cb326d7f
net: reflect mark on tcp syn ack packets

SYN-ACK responses on a server in response to a SYN from a client
did not get the injected skb mark that was tagged on the SYN packet.

Fixes: 84f39b08d786 ("net: support marking accepting TCP sockets")
Reviewed-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
net/ipv4/tcp_output.c