git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cae73
)
Don't read info->attrs[DP_GENL_A_OPENFLOW] twice, unnecessarily.
author
Ben Pfaff
<blp@nicira.com>
Mon, 7 Apr 2008 20:55:47 +0000
(13:55 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 7 Apr 2008 20:55:47 +0000
(13:55 -0700)
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index
0a1cb5c
..
b0f37c2
100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-1109,7
+1109,6
@@
static int dp_genl_openflow(struct sk_buff *skb, struct genl_info *info)
goto out;
}
- va = info->attrs[DP_GENL_A_OPENFLOW];
if (nla_len(va) < sizeof(struct ofp_header)) {
err = -EINVAL;
goto out;