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)
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

Simple merge