Prev: [099/156] drm/nouveau: report unknown connector state if lid closed
Next: [062/156] Revert "sunrpc: fix peername failed on closed listener"
From: Greg KH on 30 Mar 2010 19:40 2.6.33-stable review patch. If anyone has any objections, please let us know. ------------------ From: Zhu Yi <yi.zhu(a)intel.com> [ Upstream commit 79545b681961d7001c1f4c3eb9ffb87bed4485db ] Make llc adapt to the limited socket backlog change. Cc: Arnaldo Carvalho de Melo <acme(a)ghostprotocols.net> Signed-off-by: Zhu Yi <yi.zhu(a)intel.com> Acked-by: Eric Dumazet <eric.dumazet(a)gmail.com> Acked-by: Arnaldo Carvalho de Melo <acme(a)redhat.com> Signed-off-by: David S. Miller <davem(a)davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- net/llc/llc_conn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c @@ -756,7 +756,8 @@ void llc_conn_handler(struct llc_sap *sa else { dprintk("%s: adding to backlog...\n", __func__); llc_set_backlog_type(skb, LLC_PACKET); - sk_add_backlog(sk, skb); + if (sk_add_backlog_limited(sk, skb)) + goto drop_unlock; } out: bh_unlock_sock(sk); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |