virtio_net: Clean up set_skb_frag()
authorKrishna Kumar <krkumar2@in.ibm.com>
Wed, 19 Oct 2011 22:17:27 +0000 (22:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2011 08:53:56 +0000 (04:53 -0400)
commit8a59a7b94fc56e3ed3054c3c655b646bb631f9bc
tree62a491815692b197ebb1425fa03a36c03ff48e3a
parenta0bec1cd8f7ac966f2885f7e56ec44df87bab738
virtio_net: Clean up set_skb_frag()

Remove manual initialization in set_skb_frag, and instead
use __skb_fill_page_desc() to do the same. Patch tested
on net-next.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c