summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-10-01 21:28:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 18:25:29 +0100
commitdb8b2a613d7a42ebde250a5aae0ecde7a6bd6c47 (patch)
tree60b4b84526505656a0e12c6997b23c898e383cd2 /include
parent915d64a78f3c57ab4256822680f983327fc130e1 (diff)
downloadlinux-db8b2a613d7a42ebde250a5aae0ecde7a6bd6c47.tar.gz
linux-db8b2a613d7a42ebde250a5aae0ecde7a6bd6c47.tar.bz2
linux-db8b2a613d7a42ebde250a5aae0ecde7a6bd6c47.zip
ipv4: Convert icmp_route_lookup() to dscp_t.
[ Upstream commit 913c83a610bb7dd8e5952a2b4663e1feec0b5de6 ] Pass a dscp_t variable to icmp_route_lookup(), instead of a plain u8, to prevent accidental setting of ECN bits in ->flowi4_tos. Rename that variable ("tos" -> "dscp") to make the intent clear. While there, reorganise the function parameters to fill up horizontal space. Signed-off-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/294fead85c6035bcdc5fcf9a6bb4ce8798c45ba1.1727807926.git.gnault@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of: 27843ce6ba3d ("ipvlan: ensure network headers are in skb linear part") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions