From: Oliver Hartkopp Date: Fri, 17 Apr 2009 08:38:46 +0000 (-0700) Subject: can: Network Drop Monitor: Make use of consume_skb() in af_can.c X-Git-Tag: v2.6.30-rc4~68^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bcaa13039538c7f794b0cfcbc26e0313e7fcd5;p=pandora-kernel.git can: Network Drop Monitor: Make use of consume_skb() in af_can.c Since commit ead2ceb0ec9f85cff19c43b5cdb2f8a054484431 ("Network Drop Monitor: Adding kfree_skb_clean for non-drops and modifying end-of-line points for skbs") so called end-of-line points for skb's should use consume_skb() to free the socket buffer. In opposite to consume_skb() the function kfree_skb() is intended to be used for unexpected skb drops e.g. in error conditions that now can trigger the network drop monitor if enabled. This patch moves the skb end-of-line point in af_can.c to use consume_skb(). Signed-off-by: Oliver Hartkopp Signed-off-by: David S. Miller --- Reading git-diff-tree failed