diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-15 01:14:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-16 11:44:33 -0700 |
commit | 07660ca679da3007d3231938e2dfb415d3440716 (patch) | |
tree | a4699c20fd4ba7acb3bc4d7d55f66b4a839fd6b8 /include/scsi/sg.h | |
parent | 0fff9bd47e1341b5c4db862cc39fc68ce45f165d (diff) |
net: ncsi: fix a missing check for nla_nest_start
nla_nest_start may fail and thus deserves a check.
The fix returns -EMSGSIZE in case it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/scsi/sg.h')
0 files changed, 0 insertions, 0 deletions