openvswitch: checking wrong variable in queue_userspace_packet()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 13 May 2012 08:44:18 +0000 (08:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 May 2012 19:47:34 +0000 (15:47 -0400)
commit8aa51d64c1f526e43b1e7f89fb8b98c2fd583f4b
tree8444efa46bbd8dbe4e01655aaa719d8d5257928e
parentb99215cdc6e191f5649687536d4fb0faa3d7f56e
openvswitch: checking wrong variable in queue_userspace_packet()

"skb" is non-NULL here, for example we dereference it in skb_clone().
The intent was to test "nskb" which was just set.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c