Re: 3.12-rc7 regression - network panic from ipv6

From: Julian Anastasov
Date: Tue Oct 29 2013 - 17:21:52 EST



Hello,

On Tue, 29 Oct 2013, Hannes Frederic Sowa wrote:

> On Tue, Oct 29, 2013 at 10:33:36PM +0200, Meelis Roos wrote:
> > Some bad news - in a system where 3.12-rc6 and earlier worked fine,
> > 3.12-rc7 panics or hangs repeatedly with network traffic (torrent being
> > good test). First there is BUG from ipv6 code, followed by panic.
>
> Could you do a bisect on this? There seems to be one commit for this
> particular function _decode_session6:
>
> commit bafd4bd4dcfa13145db7f951251eef3e10f8c278
> Author: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
> Date: Mon Sep 9 10:38:38 2013 +0200
>
> xfrm: Decode sessions with output interface.
>
> The output interface matching does not work on forward
> policy lookups, the output interface of the flowi is
> always 0. Fix this by setting the output interface when
> we decode the session.
>
> Maybe try to just revert this change locally and try again?

At first look this change can work only for
forwarding, for output the skb_dst is attached later
in icmpv6_push_pending_frames. May be a check for present
skb_dst is needed.

Regards

--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/