commit | fafeeb6c80e3842c6dc19d05de09a23f23eef0d8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Jun 01 10:04:49 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 02 02:26:39 2010 -0700 |
tree | 47a177d76fa0833a324737e103d5128ad77b231b | |
parent | b42d9165e1e3d92e4e3318642463dbe592a12568 [diff] |
xfrm: force a dst reference in __xfrm_route_forward() Packets going through __xfrm_route_forward() have a not refcounted dst entry, since we enabled a noref forwarding path. xfrm_lookup() might incorrectly release this dst entry. It's a bit late to make invasive changes in xfrm_lookup(), so lets force a refcount in this path. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>