diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-03-15 22:12:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-16 20:55:36 +0100 |
commit | fbd5060875d25f7764fd1c3d35b83a8ed1d88d7b (patch) | |
tree | 2b92c1c37178af438bd0f2b1573b61cb64117418 /drivers/net/bonding/bond_main.c | |
parent | net: introduce rx_handler results and logic around that (diff) | |
download | linux-fbd5060875d25f7764fd1c3d35b83a8ed1d88d7b.tar.xz linux-fbd5060875d25f7764fd1c3d35b83a8ed1d88d7b.zip |
xfrm: Refcount destination entry on xfrm_lookup
We return a destination entry without refcount if a socket
policy is found in xfrm_lookup. This triggers a warning on
a negative refcount when freeeing this dst entry. So take
a refcount in this case to fix it.
This refcount was forgotten when xfrm changed to cache bundles
instead of policies for outgoing flows.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions