Skip to content
Commit 07660ca6 authored by Kangjie Lu's avatar Kangjie Lu Committed by David S. Miller
Browse files

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: default avatarKangjie Lu <kjlu@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0fff9bd4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment