Files
linux-stable-mirror/include/uapi/linux
Jeremy Kerr 99ce45d5e7 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>
2021-10-26 14:58:45 +01:00
..
2021-09-14 08:46:08 +02:00
2021-08-17 11:47:53 -04:00
2021-06-10 20:59:05 -04:00
2021-08-23 13:19:09 +02:00
2021-08-23 13:19:09 +02:00
2021-08-10 13:32:40 -04:00
2021-10-06 12:05:51 +00:00
2021-06-03 15:31:34 -07:00
2021-05-21 15:03:50 +02:00
2021-10-26 14:58:45 +01:00
2021-10-14 23:06:28 +02:00
2021-07-06 10:37:46 -05:00
2021-10-16 14:58:13 +01:00
2021-06-23 12:56:08 -07:00
2021-09-16 14:36:26 +01:00
2021-06-12 13:16:45 -07:00
2021-09-15 13:41:36 +02:00