diff options
author | Guillaume Nault <gnault@redhat.com> | 2023-05-22 16:38:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-24 08:22:06 +0100 |
commit | 0e26371db548834052a8f0c3e138c5ff07e253a0 (patch) | |
tree | 0514973bc9d66e4584cd3741819437141b44c2c2 /net/ipv4/udplite.c | |
parent | c85be08fc4fa44f07167be0377ebaa8d36b1dd58 (diff) |
udp: Stop using RTO_ONLINK.
Use ip_sendmsg_scope() to properly initialise the scope in
flowi4_init_output(), instead of overriding tos with the RTO_ONLINK
flag. The objective is to eventually remove RTO_ONLINK, which will
allow converting .flowi4_tos to dscp_t.
Now that the scope is determined by ip_sendmsg_scope(), we need to
check its result to set the 'connected' variable.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udplite.c')
0 files changed, 0 insertions, 0 deletions