[INET]: Give outer DSCP directly to ip*_copy_dscp
This patch changes the prototype of ipv4_copy_dscp and ipv6_copy_dscp so that they directly take the outer DSCP rather than the outer IP header. This will help us to unify the code for inter-family tunnels. Signed-off-by:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_ecn.h 4 additions, 4 deletionsinclude/net/inet_ecn.h
- net/ipv4/xfrm4_mode_tunnel.c 1 addition, 1 deletionnet/ipv4/xfrm4_mode_tunnel.c
- net/ipv6/ip6_tunnel.c 1 addition, 1 deletionnet/ipv6/ip6_tunnel.c
- net/ipv6/xfrm6_mode_tunnel.c 2 additions, 1 deletionnet/ipv6/xfrm6_mode_tunnel.c
Loading
Please register or sign in to comment