From: Eric W. Biederman Date: Tue, 11 Mar 2014 21:20:26 +0000 (-0700) Subject: gianfar: Carefully free skbs in functions called by netpoll. X-Git-Tag: v3.2.69~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2cfd3a7f1ad8e67bdac58436b615b488e411be5;p=pandora-kernel.git gianfar: Carefully free skbs in functions called by netpoll. commit c9974ad4aeb36003860100221a594f3c0ccc3f78 upstream. netpoll can call functions in hard irq context that are ordinarily called in lesser contexts. For those functions use dev_kfree_skb_any and dev_consume_skb_any so skbs are freed safely from hard irq context. Signed-off-by: "Eric W. Biederman" Signed-off-by: David S. Miller [bwh: Backported to 3.2: use only dev_kfree_skb() and not dev_consume_skb_any()] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed