Re: [PATCH] xfrm: force a dst reference in __xfrm_route_forward()

David Miller
2010-06-02T09:26:52Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 01 Jun 2010 22:04:49 +0200

> 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>

Applied, thanks for fixing this bug Eric.