ipv6: tcp: fix TCLASS value in ACK messages sent from TIME_WAIT
commit 66b13d99 (ipv4: tcp: fix TOS value in ACK messages sent from TIME_WAIT) fixed IPv4 only. This part is for the IPv6 side, adding a tclass param to ip6_xmit() We alias tw_tclass and tw_tos, if socket family is INET6. [ if sockets is ipv4-mapped, only IP_TOS socket option is used to fill TOS field, TCLASS is not taken into account ] Signed-off-by:Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_timewait_sock.h 1 addition, 0 deletionsinclude/net/inet_timewait_sock.h
- include/net/ipv6.h 2 additions, 1 deletioninclude/net/ipv6.h
- net/dccp/ipv6.c 2 additions, 2 deletionsnet/dccp/ipv6.c
- net/ipv4/tcp_minisocks.c 1 addition, 0 deletionsnet/ipv4/tcp_minisocks.c
- net/ipv6/inet6_connection_sock.c 1 addition, 1 deletionnet/ipv6/inet6_connection_sock.c
- net/ipv6/ip6_output.c 2 additions, 5 deletionsnet/ipv6/ip6_output.c
- net/ipv6/tcp_ipv6.c 9 additions, 8 deletionsnet/ipv6/tcp_ipv6.c
- net/sctp/ipv6.c 1 addition, 1 deletionnet/sctp/ipv6.c
Loading
Please register or sign in to comment