projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe99e2
)
openvswitch: Check currect return value from skb_gso_segment()
author
Pravin B Shelar
<pshelar@nicira.com>
Fri, 20 Jul 2012 21:46:29 +0000
(14:46 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Fri, 20 Jul 2012 21:46:29 +0000
(14:46 -0700)
Fix return check typo.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c
patch
|
blob
|
history
diff --git
a/net/openvswitch/datapath.c
b/net/openvswitch/datapath.c
index
b512cb8
..
670e630
100644
(file)
--- a/
net/openvswitch/datapath.c
+++ b/
net/openvswitch/datapath.c
@@
-269,8
+269,8
@@
static int queue_gso_packets(int dp_ifindex, struct sk_buff *skb,
int err;
segs = skb_gso_segment(skb, NETIF_F_SG | NETIF_F_HW_CSUM);
- if (IS_ERR(s
kb
))
- return PTR_ERR(s
kb
);
+ if (IS_ERR(s
egs
))
+ return PTR_ERR(s
egs
);
/* Queue all of the segments. */
skb = segs;