]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp/pm_netlink.c : add check for nla_put_in/6_addr
authorBo YU <tsu.yubo@gmail.com>
Thu, 23 Apr 2020 02:10:03 +0000 (10:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 22:38:10 +0000 (15:38 -0700)
commit5ac45727d67cabf7cc39a686921e2ade4bb6d35a
treebc0edfb6596fcb68d7fa010d53e43fb038c28806
parent86ab35b0620d123ccb8babe220b891f00b23e938
mptcp/pm_netlink.c : add check for nla_put_in/6_addr

Normal there should be checked for nla_put_in6_addr like other
usage in net.

Detected by CoverityScan, CID# 1461639

Fixes: 99f1c40f5b5e ("mptcp: add netlink-based PM")
Signed-off-by: Bo YU <tsu.yubo@gmail.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c