net/ncsi: Ensure 32-bit boundary for data cksum
authorTerry S. Duncan <terry.s.duncan@linux.intel.com>
Tue, 20 Aug 2019 00:24:02 +0000 (17:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 19:42:40 +0000 (12:42 -0700)
commit96a1b033ac24ccc58156f05c183b2cba0b9412d5
treecc39554e98289aeaf1b034067bcf0924d29dd9a5
parent4651d1802f7063e4d8c0bcad957f46ece0c04024
net/ncsi: Ensure 32-bit boundary for data cksum

The NCSI spec indicates that if the data does not end on a 32 bit
boundary, one to three padding bytes equal to 0x00 shall be present to
align the checksum field to a 32-bit boundary.

Signed-off-by: Terry S. Duncan <terry.s.duncan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-cmd.c
net/ncsi/ncsi-rsp.c