linux-stable/include
Eric Dumazet f6c0f5d209 tcp: honor SO_PRIORITY in TIME_WAIT state
ctl packets sent on behalf of TIME_WAIT sockets currently
have a zero skb->priority, which can cause various problems.

In this patch we :

- add a tw_priority field in struct inet_timewait_sock.

- populate it from sk->sk_priority when a TIME_WAIT is created.

- For IPv4, change ip_send_unicast_reply() and its two
  callers to propagate tw_priority correctly.
  ip_send_unicast_reply() no longer changes sk->sk_priority.

- For IPv6, make sure TIME_WAIT sockets pass their tw_priority
  field to tcp_v6_send_response() and tcp_v6_send_ack().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-27 12:05:02 +02:00
..
acpi ACPI updates for 5.4-rc1 2019-09-17 19:31:36 -07:00
asm-generic Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-09-18 12:11:14 -07:00
clocksource
crypto
drm
dt-bindings Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
keys
kvm
linux net/mlx5: DR, Fix SW steering HW bits and definitions 2019-09-24 12:38:06 +03:00
math-emu
media
misc
net tcp: honor SO_PRIORITY in TIME_WAIT state 2019-09-27 12:05:02 +02:00
pcmcia
ras
rdma
scsi
soc Char/Misc driver patches for 5.4-rc1 2019-09-18 11:14:31 -07:00
sound
target
trace for-5.4-tag 2019-09-18 17:29:31 -07:00
uapi for-5.4-tag 2019-09-18 17:29:31 -07:00
vdso
video
xen
Kbuild Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00