projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openvswitch: checking wrong variable in queue_userspace_packet()
[linux-flexiantxendom0-3.2.10.git]
/
net
/
openvswitch
/
datapath.c
diff --git
a/net/openvswitch/datapath.c
b/net/openvswitch/datapath.c
index
777716b
..
e66341e
100644
(file)
--- a/
net/openvswitch/datapath.c
+++ b/
net/openvswitch/datapath.c
@@
-321,7
+321,7
@@
static int queue_userspace_packet(int dp_ifindex, struct sk_buff *skb,
return -ENOMEM;
nskb = __vlan_put_tag(nskb, vlan_tx_tag_get(nskb));
- if (!skb)
+ if (!nskb)
return -ENOMEM;
nskb->vlan_tci = 0;