]> 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)
commitbb878ae3f2411f644e3b9051f83bef10621dff14
tree393e71b0a32ef82c293fe482641fc4711a828d37
parent72d711a8635c0e561bab24b35a94d1ecf389278b
rtnl: fix msg size calculation in if_nlmsg_size()

Size of the attribute IFLA_PHYS_PORT_NAME was missing.

Fixes: 3b4b7751dbbd ("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