]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: eliminate redundant code with kfree_skb_list routine
authorYing Xue <ying.xue@windriver.com>
Wed, 11 Dec 2013 04:45:38 +0000 (20:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 05:17:42 +0000 (00:17 -0500)
commite4d9265450a43b1995a8b86df5702f95aeeef9c5
tree68ee50f8e762bd9e524502cd6173ee7c50f5949b
parentf5f02f8aaa590450d6bcbf94da526a045be6166d
tipc: eliminate redundant code with kfree_skb_list routine

sk_buff lists are currently relased by looping over the list and
explicitly releasing each buffer.

We replace all occurrences of this loop with a call to kfree_skb_list().

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/node.c