net/ncsi: Fix the payload copying for the request coming from Netlink
authorJustin.Lee1@Dell.com <Justin.Lee1@Dell.com>
Wed, 21 Aug 2019 21:24:52 +0000 (21:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2019 02:27:02 +0000 (19:27 -0700)
commitf6edbf2d616435cda7823942c20005ce198e97c8
tree968cc0fdb19efe96be96ac33f8d189069f97993c
parent4df0d839babdcd2a17cae52f112afa148d48289f
net/ncsi: Fix the payload copying for the request coming from Netlink

The request coming from Netlink should use the OEM generic handler.

The standard command handler expects payload in bytes/words/dwords
but the actual payload is stored in data if the request is coming from Netlink.

Signed-off-by: Justin Lee <justin.lee1@dell.com>
Reviewed-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-cmd.c