Patch "rtnl: fix msg size calculation in if_nlmsg_size()" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
rtnl: fix msg size calculation in if_nlmsg_size()
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rtnl-fix-msg-size-calculation-in-if_nlmsg_size.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Sat Apr 16 10:02:53 PDT 2016
From: Nicolas Dichtel <[email protected]>
Date: Thu, 31 Mar 2016 18:10:31 +0200
Subject: rtnl: fix msg size calculation in if_nlmsg_size()
From: Nicolas Dichtel <[email protected]>
[ Upstream commit c57c7a95da842807b475b823ed2e5435c42cb3b0 ]
Size of the attribute IFLA_PHYS_PORT_NAME was missing.
--- net/core/rtnetlink.c | 1 + 1 file changed, 1 insertion(+)
net/core/rtnetlink.c +1 -0
@@ -905,6 +905,7 @@ static noinline size_t if_nlmsg_size(con +rtnl_link_get_af_size (dev, ext_filter_mask)/* IFLA_AF_SPEC */ +nla_total_size (MAX_PHYS_ITEM_ID_LEN )/* IFLA_PHYS_PORT_ID */ +nla_total_size (MAX_PHYS_ITEM_ID_LEN )/* IFLA_PHYS_SWITCH_ID */ + +nla_total_size (IFNAMSIZ )/* IFLA_PHYS_PORT_NAME */ +nla_total_size (1 );/* IFLA_PROTO_DOWN */ }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/ip6_tunnel-set-rtnl_link_ops-before-calling-register_netdevice.patch queue-4.4/rtnl-fix-msg-size-calculation-in-if_nlmsg_size.patch