summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2018-12-26 00:09:04 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:27:02 +0100
commit84ae6096e925cc894c0b11f21bf5817f6cd3fd09 (patch)
tree1c0c5decbe99615893851e40df9894c9048e2e4f /lib/genalloc.c
parent0c97734b244ad96515df73ef4d95df8129fd6c0f (diff)
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 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions