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>
Wed, 31 Mar 2010 01:31:59 +0000 (18:31 -0700)
commit2c45cd43ff791cc4ab6a6332165ad53d7bcb3673
tree5032ed32e2e9768a62ecd4776559037440bf87ae
parent36c0d8cca3283c235c9af1954de641df84c80f0f
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