diff options
author | Guillaume Nault <[email protected]> | 2023-05-22 16:38:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-05-24 08:22:06 +0100 |
commit | 0e26371db548834052a8f0c3e138c5ff07e253a0 (patch) | |
tree | 0514973bc9d66e4584cd3741819437141b44c2c2 /net/unix/af_unix.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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions