ipv6: add priority parameter to ip6_xmit()
authorEric Dumazet <edumazet@google.com>
Tue, 24 Sep 2019 15:01:14 +0000 (08:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2019 10:05:02 +0000 (12:05 +0200)
commit4f6570d7206bb052f42718d55fbe72977f0318ea
treeb3c4209f2bbdf23725de9edae630d25e65f0c99b
parent2b6fd3ea438c742d162a40a124b0181922633163
ipv6: add priority parameter to ip6_xmit()

Currently, ip6_xmit() sets skb->priority based on sk->sk_priority

This is not desirable for TCP since TCP shares the same ctl socket
for a given netns. We want to be able to send RST or ACK packets
with a non zero skb->priority.

This patch has no functional change.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/dccp/ipv6.c
net/ipv6/inet6_connection_sock.c
net/ipv6/ip6_output.c
net/ipv6/tcp_ipv6.c
net/sctp/ipv6.c