]> git.karo-electronics.de Git - linux-beck.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)
commit33cc48966827165e49de1cb8ff4fb57c127d4be0
tree442ad224702bb0a085a71efabc1ff18fdff91d12
parent5176f91ea83f1a59eba4dba88634a4729d51d1ac
[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