]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove rt6i_peer_genid from rt6_info and its handler
authorLi RongQing <roy.qing.li@gmail.com>
Wed, 7 Nov 2012 21:56:33 +0000 (21:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2012 02:16:08 +0000 (21:16 -0500)
commitd47f4a80c89bf9486314cf476e908539aaf938d0
tree0506bf5d24cc197cb43e3cab8109171e655d4196
parent1d6e404b63588366210d0d7e8f916c52bb2498ba
ipv6: remove rt6i_peer_genid from rt6_info and its handler

2361fa69b6(Create a mechanism for upward inetpeer propagation into routes)
introduces these codes, but this mechanism is never enabled since
rt6i_peer_genid always is zero whether it is not assigned or assigned by
rt6_peer_genid(). After 1293fdd798 (ipv4: Maintain redirect and PMTU info
in struct rtable again), the ipv4 related codes of this mechanism has been
removed, I think we maybe able to remove them now.

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