[ovs-dev] [PATCH] fix br_nlmsg_size
Pravin Shelar
pshelar at nicira.com
Thu Sep 8 19:35:39 PDT 2011
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 at nicira.com>
---
datapath/datapath.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/datapath/datapath.c b/datapath/datapath.c
index b92c198..c1c843d 100644
--- 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 */
}
--
1.7.1
More information about the dev
mailing list