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