]> git.baikalelectronics.ru Git - kernel.git/commit
rtnl: fix msg size calculation in if_nlmsg_size()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 31 Mar 2016 16:10:31 +0000 (18:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2016 20:49:54 +0000 (16:49 -0400)
commit1aa47badd863c580f2c2f442a89d95e5cfe7d23f
tree393e71b0a32ef82c293fe482641fc4711a828d37
parenta5e9b0e757cb1825651290d5dd84f39fc43b48cf
rtnl: fix msg size calculation in if_nlmsg_size()

Size of the attribute IFLA_PHYS_PORT_NAME was missing.

Fixes: 54ab78d81c4a ("net: add support for phys_port_name")
CC: David Ahern <dsahern@gmail.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c