projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629a6b4
)
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:31:54 +0000
(11:31 -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 605253d8556e92bccfd2bdd8d1d47c6934790a47..c2cb6b1575498d7de444e9d62152afa1f825bda1 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-410,8
+410,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);
- 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;