]> git.baikalelectronics.ru Git - 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)
commit333d18c483b10339a2976b4b67ea4775ef289ff6
treec500be1467745a7004d29e7a0603421d1c75cb90
parent4422a23f22df0e729c6dca9227939b5a527d79a5
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