[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130313.103342.1152584686012875394.davem@davemloft.net>
Date: Wed, 13 Mar 2013 10:33:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zhouzhouyi@...il.com
Cc: netdev@...r.kernel.org, stable@...r.kernel.org, trivial@...nel.org
Subject: Re: [PATCH] net/core: fixing dst_neigh_lookup/dst_neigh_lookup_skb
caused kernel panic
From: Zhouyi Zhou <zhouzhouyi@...il.com>
Date: Wed, 13 Mar 2013 12:00:34 +0800
> when neighbour table is full, dst_neigh_lookup/dst_neigh_lookup_skb
> will return -ENOBUFS which
> is absolutely non zero, while all the code in kernel which use above
> functions assume failure only
> on zero return (I did a grep), which will cause kernel panic. (for
> example: https://bugzilla.kernel.org/show_bug.cgi?id=54731)
>
> This patch corrects above error with smallest changes to kernel source code.
> Signed-off-by: Zhouyi Zhou <zhouzhouyi@...il.com>
Your patch was corrupted by your email client.
Fix this, and only resend this patch once you are able to send a test
patch to yourself and cleanly apply the patch you receive.
--
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