]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Consolidate the ip6_pol_route_(input|output) pair
authorPavel Emelyanov <xemul@openvz.org>
Mon, 15 Oct 2007 20:02:51 +0000 (13:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Oct 2007 20:02:51 +0000 (13:02 -0700)
commit0f9d4c485848c0e73dff7636d1c7ca5ae161f18c
treea5b75db4e9c9702a5299e56135beb4afc6b71d6e
parent5db98bc61e5c2b954102457b521ea7111cd6a1c4
[IPV6]: Consolidate the ip6_pol_route_(input|output) pair

The difference in both functions is in the "id" passed to
the rt6_select, so just pass it as an extra argument from
two outer helpers.

This is minus 60 lines of code and 360 bytes of .text

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c