]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6] ROUTE: Fix dst reference counting in ip6_pol_route_lookup().
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 28 Aug 2006 20:19:30 +0000 (13:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:26 +0000 (15:18 -0700)
commitc8da7a043b46135dc44cef2ce3f907f80e650964
tree442ad224702bb0a085a71efabc1ff18fdff91d12
parent336e400a343857b1567f3c27fd5e72945b368e31
[IPV6] ROUTE: Fix dst reference counting in ip6_pol_route_lookup().

In ip6_pol_route_lookup(), when we finish backtracking at the
top-level root entry, we need to hold it.

Bug noticed by Mitsuru Chinen <CHINEN@jp.ibm.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c