vmxnet3: use initialized skb pointer to set hash
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 20 Dec 2013 12:16:57 +0000 (13:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2013 18:55:29 +0000 (13:55 -0500)
commit2c15a154a0f8069830772bacf70de8184065ee93
tree597ce9b00d7b215ea6352852d94a1fd8f76478a5
parent2e04ad424b03661ec8239acd52146497eb33be1c
vmxnet3: use initialized skb pointer to set hash

The recent conversion to skb_set_hash() was incorrect. 'skb' is
uninitialized at this point.

Fixes: 0b6807034791 ('net: vmxnet3 calls skb_set_hash')
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c