projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ec79e0e
)
datapath: Check currect return value from skb_gso_segment()
author
Pravin B Shelar
<pshelar@nicira.com>
Tue, 12 Jun 2012 18:19:16 +0000
(11:19 -0700)
committer
Pravin B Shelar
<pshelar@nicira.com>
Tue, 12 Jun 2012 18:22:15 +0000
(11:22 -0700)
Fix return check typo.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #11933
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index
f5a9d2a
..
6623660
100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-411,8
+411,8
@@
static int queue_gso_packets(struct net *net, int dp_ifindex,
int err;
segs = skb_gso_segment(skb, NETIF_F_SG | NETIF_F_HW_CSUM);
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;
/* Queue all of the segments. */
skb = segs;