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)
commitf05de73bf82fbbc00265c06d12efb7273f7dc54a
tree57ad7ba9a698d9bfa1aef311def1b8ddebd20ec0
parent7e307c67c94619fa53b22735673fbf99b427e760
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