aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/rtnetlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index ed0766f0181a..bf919b6acea2 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -653,6 +653,7 @@ static inline size_t if_nlmsg_size(const struct net_device *dev)
653 + nla_total_size(IFNAMSIZ) /* IFLA_QDISC */ 653 + nla_total_size(IFNAMSIZ) /* IFLA_QDISC */
654 + nla_total_size(sizeof(struct rtnl_link_ifmap)) 654 + nla_total_size(sizeof(struct rtnl_link_ifmap))
655 + nla_total_size(sizeof(struct rtnl_link_stats)) 655 + nla_total_size(sizeof(struct rtnl_link_stats))
656 + nla_total_size(sizeof(struct rtnl_link_stats64))
656 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ 657 + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */
657 + nla_total_size(MAX_ADDR_LEN) /* IFLA_BROADCAST */ 658 + nla_total_size(MAX_ADDR_LEN) /* IFLA_BROADCAST */
658 + nla_total_size(4) /* IFLA_TXQLEN */ 659 + nla_total_size(4) /* IFLA_TXQLEN */