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)
commitc57c7a95da842807b475b823ed2e5435c42cb3b0
tree393e71b0a32ef82c293fe482641fc4711a828d37
parent32867fcc0ef9e56939d5200ad983801bbfd581ad
rtnl: fix msg size calculation in if_nlmsg_size()

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>
net/core/rtnetlink.c