summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorQuentin Armitage <quentin@armitage.org.uk>2016-03-27 18:06:11 +0200
committerDavid S. Miller <davem@davemloft.net>2016-03-28 04:35:02 +0200
commit995096a0a438396a570104e9c240a2a26623a5a1 (patch)
treea1a148e405cc1d3e248365bd805c830232939322 /drivers
parentdrivers/net/usb/plusb.c: Fix typo (diff)
downloadlinux-995096a0a438396a570104e9c240a2a26623a5a1.tar.xz
linux-995096a0a438396a570104e9c240a2a26623a5a1.zip
Fix returned tc and hoplimit values for route with IPv6 encapsulation
For a route with IPv6 encapsulation, the traffic class and hop limit values are interchanged when returned to userspace by the kernel. For example, see below. ># ip route add 192.168.0.1 dev eth0.2 encap ip6 dst 0x50 tc 0x50 hoplimit 100 table 1000 ># ip route show table 1000 192.168.0.1 encap ip6 id 0 src :: dst fe83::1 hoplimit 80 tc 100 dev eth0.2 scope link Signed-off-by: Quentin Armitage <quentin@armitage.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions