diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-26 00:09:04 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:20:55 +0100 |
commit | 6d98c426e5f3f4430fc31d85cda5f4110e5f3e9f (patch) | |
tree | b1c4b5fe131aa21b2fdf5770a4e1e9e495cb9214 /net/bpf | |
parent | a3ab332b4e1e94dbfc3b3d556d7720b2eecfef49 (diff) | |
download | linux-stable-6d98c426e5f3f4430fc31d85cda5f4110e5f3e9f.tar.gz linux-stable-6d98c426e5f3f4430fc31d85cda5f4110e5f3e9f.tar.bz2 linux-stable-6d98c426e5f3f4430fc31d85cda5f4110e5f3e9f.zip |
tipc: fix a missing check of genlmsg_put
[ Upstream commit 46273cf7e009231d2b6bc10a926e82b8928a9fb2 ]
genlmsg_put could fail. The fix inserts a check of its return value, and
if it fails, returns -EMSGSIZE.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions