ipv6: propagate genlmsg_reply return code
authorLi RongQing <lirongqing@baidu.com>
Mon, 11 Feb 2019 11:32:20 +0000 (19:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 17:36:02 +0000 (12:36 -0500)
commitd1f20798a119be71746949ba9b2e2ff330fdc038
tree47a56aa7661e7692578c56fdd5650a0b11795c79
parent29dded89e80e3fff61efb34f07a8a3fba3ea146d
ipv6: propagate genlmsg_reply return code

genlmsg_reply can fail, so propagate its return code

Fixes: 915d7e5e593 ("ipv6: sr: add code base for control plane support of SR-IPv6")
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6.c