macvtap: fix the uninitialized var using in macvtap_alloc_skb()
authorJason Wang <jasowang@redhat.com>
Sun, 18 Sep 2011 23:48:31 +0000 (23:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2011 18:37:22 +0000 (14:37 -0400)
commit653fc9155769f8af8ea73e7e9c99dcaa5bd62086
treec8cc3ca0a574dc2a8fbd0825d709ab0e1ce5ec41
parent59da45c4fe612cb4312bdf8e4f85fc295c73d50b
macvtap: fix the uninitialized var using in macvtap_alloc_skb()

Commit d1b08284 use new frag API but would leave f to be used
uninitialized, this patch fix it.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c