Guillaume Nault a915deaa9a libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
Mask the ECN bits before calling ip_route_output_ports(). The tos
variable might be passed directly from an IPv4 header, so it may have
the last ECN bit set. This interferes with the route lookup process as
ip_route_output_key_hash() interpretes this bit specially (to restrict
the route scope).

Found by code inspection, compile tested only.

Fixes: 804c2f3e36ef ("libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route()")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-11 20:36:08 -08:00
..
2021-11-06 14:36:12 -07:00
2022-01-10 08:13:52 -08:00
2021-11-01 10:09:14 -07:00
2022-01-10 12:58:46 -08:00
2022-01-10 12:58:46 -08:00
2022-01-10 08:58:16 -08:00
2021-11-08 11:49:48 -08:00
2021-12-13 13:18:48 +05:30
2021-12-14 10:24:28 +01:00
2021-11-05 08:42:02 -07:00
2021-11-04 13:56:55 -07:00
2022-01-10 20:26:56 -08:00
2022-01-10 19:06:09 -08:00
2022-01-07 13:28:20 -08:00
2022-01-10 08:13:52 -08:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2022-01-10 20:34:00 -08:00
2021-10-26 19:12:01 +02:00
2022-01-10 08:13:52 -08:00
2021-11-10 10:56:02 -08:00
2021-12-16 14:48:27 +01:00
2022-01-10 18:55:43 -08:00
2022-01-10 12:58:46 -08:00
2021-11-08 12:07:52 -08:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2022-01-10 19:06:09 -08:00
2021-12-31 09:22:25 -08:00
2022-01-10 08:24:40 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 08:13:52 -08:00
2022-01-10 20:26:56 -08:00
2022-01-10 08:13:52 -08:00
2021-11-30 11:41:49 -07:00
2022-01-10 12:58:46 -08:00
2021-11-10 09:41:22 -08:00
2021-12-08 14:53:15 -05:00