commit | d77b3831f7d59d69aa49d5d1df10bbe56671dc5d | [log] [tgz] |
---|---|---|
author | Ying Xue <ying.xue@windriver.com> | Tue Dec 10 20:45:38 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 11 00:17:42 2013 -0500 |
tree | 68ee50f8e762bd9e524502cd6173ee7c50f5949b | |
parent | 4ba3f99a3624187f47f160234fc49a3b8054a0c1 [diff] |
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>