Ido Schimmel
b261b2c6c1
xfrm: Unmask upper DSCP bits in xfrm_get_tos()
...
The function returns a value that is used to initialize 'flowi4_tos'
before being passed to the FIB lookup API in the following call chain:
xfrm_bundle_create()
tos = xfrm_get_tos(fl, family)
xfrm_dst_lookup(..., tos, ...)
__xfrm_dst_lookup(..., tos, ...)
xfrm4_dst_lookup(..., tos, ...)
__xfrm4_dst_lookup(..., tos, ...)
fl4->flowi4_tos = tos
__ip_route_output_key(net, fl4)
Unmask the upper DSCP bits so that in the future the output route lookup
could be performed according to the full DSCP value.
Remove IPTOS_RT_MASK since it is no longer used.
Signed-off-by: Ido Schimmel <idosch@nvidia.com >
Reviewed-by: Guillaume Nault <gnault@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2024-08-31 17:44:51 +01:00
..
2024-08-15 13:07:55 -04:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:22 -07:00
2024-07-10 10:46:32 -07:00
2024-08-27 16:08:44 -07:00
2024-08-29 11:49:10 -07:00
2024-08-30 11:14:06 -07:00
2024-08-26 09:37:23 -07:00
2024-07-10 10:28:23 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-06-25 11:10:18 +02:00
2024-08-15 17:18:52 -07:00
2024-05-14 10:53:19 -07:00
2024-08-26 09:37:22 -07:00
2024-08-26 09:37:22 -07:00
2024-08-27 13:11:37 -07:00
2024-08-29 11:49:10 -07:00
2024-07-09 11:36:00 +02:00
2024-06-05 10:24:57 +01:00
2024-08-26 09:37:23 -07:00
2024-08-16 09:59:32 +01:00
2024-08-26 09:37:23 -07:00
2024-08-20 15:22:17 -07:00
2024-05-29 17:34:49 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-07-15 09:14:39 -07:00
2024-06-12 17:56:00 -07:00
2024-05-14 10:49:50 -07:00
2024-08-26 09:37:23 -07:00
2024-05-23 10:19:39 +02:00
2024-08-05 16:27:26 -07:00
2024-06-25 11:37:45 +02:00
2024-05-23 14:14:23 -07:00
2024-08-05 16:22:45 -07:00
2024-08-05 16:22:45 -07:00
2024-08-28 17:08:16 -07:00
2024-07-14 07:34:16 -07:00
2024-08-20 14:57:08 +02:00
2024-08-26 09:37:22 -07:00
2024-08-31 17:44:51 +01:00
2024-08-05 16:27:26 -07:00
2024-08-26 09:37:22 -07:00
2024-08-19 18:36:12 -07:00
2024-07-15 08:51:01 -07:00
2024-08-26 09:37:23 -07:00
2024-07-15 08:51:19 -07:00
2024-07-11 17:22:04 -07:00
2024-05-13 18:29:23 -07:00
2024-08-12 17:23:57 -07:00
2024-07-24 20:59:29 +02:00
2024-08-03 22:38:44 +01:00
2024-06-01 15:11:52 -07:00
2024-08-26 09:37:22 -07:00
2024-08-26 09:37:23 -07:00
2024-07-02 18:59:33 -07:00
2024-08-12 17:50:34 -07:00
2024-08-26 09:37:23 -07:00
2024-07-11 18:11:31 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-06-06 15:18:04 +02:00
2024-08-31 17:44:51 +01:00
2024-08-07 10:24:46 +01:00
2024-06-05 12:34:54 +01:00
2024-05-30 18:29:38 -07:00
2024-06-24 16:41:23 -07:00
2024-05-30 18:29:38 -07:00
2024-08-02 17:16:59 -07:00
2024-08-26 09:37:23 -07:00
2024-06-12 06:39:04 +01:00
2024-06-12 06:39:04 +01:00
2024-07-08 14:07:31 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-07-02 15:26:57 +02:00
2024-07-15 13:19:17 -07:00