]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:42:05 +0000 (15:42 +0900)
commit18baf0e01eefd27156d8a8fc5ade1ad8930a1b3d
tree697b10ab4cad1d3feb3e38e8443d287e7f8671ee
parentdf371b19630cf045e00f1b09a721bb7103266796
rtnl: fix msg size calculation in if_nlmsg_size()

[ Upstream commit c57c7a95da842807b475b823ed2e5435c42cb3b0 ]

Size of the attribute IFLA_PHYS_PORT_NAME was missing.

Fixes: db24a9044ee1 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/rtnetlink.c