xen-netfront: refactor skb slot counting
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 13 Jan 2015 17:16:43 +0000 (17:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2015 05:22:00 +0000 (00:22 -0500)
commite84448d52190413400663736067f826f28a04ad6
tree0302a5f4f7399eae1fdd8ebd8475947af51fa3c4
parent28e98c2c20e9d791cf58a624a5a2b1fca63ea47b
xen-netfront: refactor skb slot counting

A function to count the number of slots an skb needs is more useful
than one that counts the slots needed for only the frags.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c