virtio_net: missing sg_init_table
authorShirley Ma <mashirle@us.ibm.com>
Mon, 29 Mar 2010 15:19:15 +0000 (15:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:00:34 +0000 (22:00 -0700)
commit0e413f22e4c1cbfe12907e462a7d739a2e316f2b
tree81c774a0b38334184ae14efde570e96283dcae01
parent4a1032faac94ebbf647460ae3e06fc21146eb280
virtio_net: missing sg_init_table

Add missing sg_init_table for sg_set_buf in virtio_net which
induced in defer skb patch.

Reported-by: Thomas Müller <thomas@mathtm.de>
Tested-by: Thomas Müller <thomas@mathtm.de>
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c