projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a47724
)
datapath: Fix br_nlmsg_size
author
Pravin Shelar
<pshelar@nicira.com>
Sat, 10 Sep 2011 00:07:35 +0000
(17:07 -0700)
committer
Pravin Shelar
<pshelar@nicira.com>
Sat, 10 Sep 2011 00:07:35 +0000
(17:07 -0700)
I missed this in last vport iflink patch.
As IFLA_LINK is not be passed in netlink msg there is no need to
allocate space for it.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
patch
|
blob
|
history
diff --git
a/datapath/datapath.c
b/datapath/datapath.c
index b92c198d77084a487e1a51c042071563112c401b..c1c843da51f77555212f5d9d01a79ec67d2e58cf 100644
(file)
--- a/
datapath/datapath.c
+++ b/
datapath/datapath.c
@@
-131,7
+131,6
@@
static inline size_t br_nlmsg_size(void)
+ nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */
+ nla_total_size(4) /* IFLA_MASTER */
+ nla_total_size(4) /* IFLA_MTU */
- + nla_total_size(4) /* IFLA_LINK */
+ nla_total_size(1); /* IFLA_OPERSTATE */
}