]> 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)
commit2fb8a99fba0fbfb179214024872a13f7f8d53772
tree57ad7ba9a698d9bfa1aef311def1b8ddebd20ec0
parent0ae032d7a7b189a79ff4c76f0a41dc657747bbd7
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