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-10-24 16:24:29 +02:00
2021-10-21 12:44:07 +01:00
2021-09-27 12:16:48 +01:00
2021-10-05 13:15:35 +01:00
2021-10-25 13:51:21 -07:00
2021-10-14 23:06:53 +02:00
2021-10-14 23:06:53 +02:00
2021-10-14 23:06:53 +02:00
2021-10-14 23:06:53 +02:00
2021-09-20 12:43:34 +01:00
2021-10-07 15:24:06 -07:00
2021-10-14 09:22:11 -07:00
2021-09-08 12:55:35 -07:00
2021-10-13 13:25:36 -07:00
2021-10-14 12:47:29 +01:00
2021-09-14 10:41:30 +02:00
2021-10-07 16:51:57 +02:00
2021-09-09 19:14:33 -04:00
2021-10-01 19:58:02 -07:00
2021-10-24 13:42:28 +01:00
2021-09-24 16:13:35 -07:00
2021-09-13 16:35:58 -07:00
2021-09-13 16:35:58 -07:00
2021-09-08 15:32:35 -07:00
2021-09-13 10:43:04 -07:00
2021-09-12 16:09:26 -07:00
2021-09-13 10:18:28 -07:00
2021-09-13 10:43:04 -07:00
2021-09-15 12:04:28 -07:00
2021-09-11 00:41:21 +02:00
2021-10-18 20:22:03 -10:00
2021-09-21 17:34:53 +02:00
2021-09-08 11:50:24 -07:00
2021-10-18 20:22:03 -10:00
2021-10-19 12:46:24 +01:00
2021-10-06 17:47:50 -07:00
2021-09-28 16:27:18 -07:00
2021-09-09 12:45:26 -07:00
2021-09-23 19:26:54 +02:00
2021-10-15 21:02:50 -06:00
2021-09-08 11:50:24 -07:00
2021-09-08 18:45:53 -07:00
2021-10-22 10:20:56 -07:00
2021-10-25 18:02:12 -07:00
2021-09-22 14:29:32 +01:00
2021-09-23 11:01:12 -04:00
2021-10-24 13:40:33 +01:00
2021-09-14 13:23:22 -07:00
2021-09-08 11:50:23 -07:00
2021-10-18 20:22:02 -10:00
2021-09-29 10:54:50 +01:00
2021-09-24 16:13:35 -07:00
2021-10-15 10:54:20 +01:00
2021-09-16 13:05:42 -07:00
2021-09-08 12:55:35 -07:00
2021-10-18 14:05:25 +01:00
2021-10-14 23:06:28 +02:00
2021-10-05 13:07:03 +01:00
2021-09-14 09:02:50 +02:00
2021-10-14 15:59:04 -07:00
2021-09-08 11:50:25 -07:00
2021-09-13 10:18:28 -07:00
2021-09-17 13:52:17 +01:00
2021-09-08 11:50:24 -07:00
2021-09-08 11:50:24 -07:00
2021-09-08 12:55:35 -07:00
2021-09-08 12:55:35 -07:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-10-07 15:24:06 -07:00
2021-10-25 14:04:18 +01:00
2021-10-04 13:50:05 +01:00
2021-09-20 22:28:47 +02:00
2021-10-07 13:39:51 +01:00
2021-10-07 16:51:57 +02:00
2021-10-01 13:57:57 +02:00
2021-10-18 20:22:03 -10:00
2021-10-14 23:06:28 +02:00
2021-10-26 14:58:45 +01:00
2021-09-09 13:25:49 -07:00
2021-09-08 11:50:28 -07:00
2021-09-08 17:44:26 +02:00
2021-10-18 18:12:09 -04:00
2021-09-22 10:24:01 -04:00
2021-10-18 12:54:41 +01:00
2021-09-08 15:32:35 -07:00
2021-09-15 09:22:35 -06:00
2021-09-08 12:55:35 -07:00
2021-10-18 16:02:30 -05:00
2021-09-08 11:50:24 -07:00
2021-09-13 07:53:27 -10:00