]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: move IPV6_TCLASS_SHIFT into ipv6.h and define a helper
authorLi RongQing <roy.qing.li@gmail.com>
Wed, 15 Jan 2014 09:03:30 +0000 (17:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 23:53:18 +0000 (15:53 -0800)
commit720414ae646d69416a8830e6bcc8e6131f2f0b8a
treee420a54624555e185458c2d8a443820ef9a276e5
parenta5530d4846304636840356300c3fe11cae4ce7b0
ipv6: move IPV6_TCLASS_SHIFT into ipv6.h and define a helper

Two places defined IPV6_TCLASS_SHIFT, so we should move it into ipv6.h,
and use this macro as possible. And define ip6_tclass helper to return
tclass

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/fib6_rules.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/ipv6_sockglue.c