[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)
commit4acad72ded8e3f0211bd2a762e23c28229c61a51
treea5b75db4e9c9702a5299e56135beb4afc6b71d6e
parentf78a1b389288d8327db5a0f4526935b0da1d0967
[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