[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)
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

Simple merge