net: tipc: fix a missing check of nla_nest_start
authorKangjie Lu <kjlu@umn.edu>
Fri, 15 Mar 2019 17:11:59 +0000 (12:11 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Mar 2019 19:09:05 +0000 (12:09 -0700)
commit4589e28db46ee4961edfd794c5bb43887d38c8e5
tree68b9946a8bf4651fa74a47f29a6551b6a70a0ef6
parent07660ca679da3007d3231938e2dfb415d3440716
net: tipc: fix a missing check of nla_nest_start

nla_nest_start could fail and requires a check. The fix returns
-EMSGSIZE if it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/group.c