]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: create skb_panic() function and its wrappers
authorJean Sacren <sakiwit@gmail.com>
Mon, 11 Feb 2013 13:30:38 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2013 00:14:43 +0000 (19:14 -0500)
commit00a1e442e7f5a02a8dc3b5caabc04e6a207c1856
tree57ad7ba9a698d9bfa1aef311def1b8ddebd20ec0
parenteddb8f6d04bc43daf2e14888aee040aa36d19353
skbuff: create skb_panic() function and its wrappers

Create skb_panic() function in lieu of both skb_over_panic() and
skb_under_panic() so that code duplication would be avoided. Update type
and variable name where necessary.

Jiri Pirko suggested using wrappers so that we would be able to keep the
fruits of the original code.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c