[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130702.124530.1934465740187090037.davem@davemloft.net>
Date: Tue, 02 Jul 2013 12:45:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, davej@...hat.com, yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH net] ipv6: call udp_push_pending_frames when uncorking
a socket with AF_INET pending data
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Mon, 1 Jul 2013 20:21:30 +0200
> We accidentally call down to ip6_push_pending_frames when uncorking
> pending AF_INET data on a ipv6 socket. This results in the following
> splat (from Dave Jones):
...
> This patch adds a check if the pending data is of address family AF_INET
> and directly calls udp_push_ending_frames from udp_v6_push_pending_frames
> if that is the case.
>
> This bug was found by Dave Jones with trinity.
>
> (Also move the initialization of fl6 below the AF_INET check, even if
> not strictly necessary.)
>
> Cc: Dave Jones <davej@...hat.com>
> Cc: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists