]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfd680cc4b2e3899763e948d2e5102558c714887
tree597ce9b00d7b215ea6352852d94a1fd8f76478a5
parenta24ce3d90c8e68bf60287d2b208e1d5116f51213
vmxnet3: use initialized skb pointer to set hash

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

Fixes: a27ca8e82758 ('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