[INET]: Give outer DSCP directly to ip*_copy_dscp
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:40:13 +0000 (21:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:45 +0000 (14:53 -0800)
commit29bb43b4ec4e625b0659186fc8a7c8f8b7c81982
tree8c04e70edb9ef5d0a76793add6b70cf530f41913
parenta2deb6d26f16ed7bf787dbd6a58c5d7be47d8db3
[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>
include/net/inet_ecn.h
net/ipv4/xfrm4_mode_tunnel.c
net/ipv6/ip6_tunnel.c
net/ipv6/xfrm6_mode_tunnel.c