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