]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: allow 16 byte pnetids in netlink policy
authorHans Wippel <hwippel@linux.ibm.com>
Wed, 30 Jan 2019 17:51:01 +0000 (18:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 22:45:44 +0000 (14:45 -0800)
commit0db53e40eca04b3a47b24822e66c7354086d65b0
tree4333e1519e160883b6dd9b8cc32ba77b01e4364e
parentf417dd780d29007529e851f9ec41d498b692d04c
net/smc: allow 16 byte pnetids in netlink policy

Currently, users can only send pnetids with a maximum length of 15 bytes
over the SMC netlink interface although the maximum pnetid length is 16
bytes. This patch changes the SMC netlink policy to accept 16 byte
pnetids.

Signed-off-by: Hans Wippel <hwippel@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c