diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-26 00:09:04 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-27 16:26:09 -0800 |
commit | 46273cf7e009231d2b6bc10a926e82b8928a9fb2 (patch) | |
tree | 73bf3ea3c86d358981738515f96ca11dc4447f15 /net/tipc/udp_media.h | |
parent | atl1e: checking the status of atl1e_write_phy_reg (diff) | |
download | linux-dev-46273cf7e009231d2b6bc10a926e82b8928a9fb2.tar.xz linux-dev-46273cf7e009231d2b6bc10a926e82b8928a9fb2.zip |
tipc: fix a missing check of genlmsg_put
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>
Diffstat (limited to 'net/tipc/udp_media.h')
0 files changed, 0 insertions, 0 deletions