From: David Ahern <hidden> Date: 2021-08-27 04:37:18
On 8/26/21 6:16 PM, Eric Dumazet wrote:
Hi Roopa
I noticed inet_rtm_getroute_build_skb() has this endian issue
when building an UDP header.
Would the following fix break user space ?
I do not see how. As I recall this is only for going through
ip_route_input_rcu and ip_route_output_key_hash_rcu and a call to
fib4_rules_early_flow_dissect.
From: Eric Dumazet <hidden> Date: 2021-08-27 15:09:45
On 8/26/21 9:37 PM, David Ahern wrote:
On 8/26/21 6:16 PM, Eric Dumazet wrote:
quoted
Hi Roopa
I noticed inet_rtm_getroute_build_skb() has this endian issue
when building an UDP header.
Would the following fix break user space ?
I do not see how. As I recall this is only for going through
ip_route_input_rcu and ip_route_output_key_hash_rcu and a call to
fib4_rules_early_flow_dissect.
Ah, nice !
Could we add a test for this feature ?
I could not really figure out reading the commit changelog how this stuff was used.
From: David Ahern <hidden> Date: 2021-08-27 16:46:12
On 8/27/21 8:09 AM, Eric Dumazet wrote:
On 8/26/21 9:37 PM, David Ahern wrote:
quoted
On 8/26/21 6:16 PM, Eric Dumazet wrote:
quoted
Hi Roopa
I noticed inet_rtm_getroute_build_skb() has this endian issue
when building an UDP header.
Would the following fix break user space ?
I do not see how. As I recall this is only for going through
ip_route_input_rcu and ip_route_output_key_hash_rcu and a call to
fib4_rules_early_flow_dissect.
Ah, nice !
Could we add a test for this feature ?
I could not really figure out reading the commit changelog how this stuff was used.
tools/testing/selftests/net/fib_rule_tests.sh
I do not see the udp variant, so yes, those should be added.