diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-10-26 03:57:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 15:58:45 +0200 |
commit | 99ce45d5e7dbde399997a630f45ac9f654fa4bcc (patch) | |
tree | 90da8fa27361a3ff0eba69e8a074a921d99f049f /README | |
parent | net: ax88796c: Remove pointless check in ax88796c_open() (diff) | |
download | linux-99ce45d5e7dbde399997a630f45ac9f654fa4bcc.tar.xz linux-99ce45d5e7dbde399997a630f45ac9f654fa4bcc.zip |
mctp: Implement extended addressing
This change allows an extended address struct - struct sockaddr_mctp_ext
- to be passed to sendmsg/recvmsg. This allows userspace to specify
output ifindex and physical address information (for sendmsg) or receive
the input ifindex/physaddr for incoming messages (for recvmsg). This is
typically used by userspace for MCTP address discovery and assignment
operations.
The extended addressing facility is conditional on a new sockopt:
MCTP_OPT_ADDR_EXT; userspace must explicitly enable addressing before
the kernel will consume/populate the extended address data.
Includes a fix for an uninitialised var:
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions