]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
devlink: Add missing check of nlmsg_put
authorYueHaibing <yuehaibing@huawei.com>
Mon, 21 Jan 2019 09:34:53 +0000 (09:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2019 04:08:23 +0000 (20:08 -0800)
commited175d9c6f0d4df0f83f22ff4c887c21b7d021cd
treec500be1467745a7004d29e7a0603421d1c75cb90
parent56431e38efe971591180cd7af7c28ac4b970de5c
devlink: Add missing check of nlmsg_put

nlmsg_put may fail, this fix add a check of its return value.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c