From: Pravin Shelar Date: Sat, 10 Sep 2011 00:07:35 +0000 (-0700) Subject: datapath: Fix br_nlmsg_size X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37c91c76785e335e9d89aa31a7f0ab290223193;p=openvswitch datapath: Fix br_nlmsg_size 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 Acked-by: Jesse Gross --- diff --git a/datapath/datapath.c b/datapath/datapath.c index b92c198d..c1c843da 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 */ }