diff options
| author | Willem de Bruijn <[email protected]> | 2025-02-14 22:27:02 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-19 02:27:20 +0000 |
| commit | e8485911050a60091d1bf51a162f0a2654729fad (patch) | |
| tree | 26af08dbe89c1e0ca8df9b7215fab94383b3fce0 /arch/powerpc/lib/code-patching.c | |
| parent | ipv4: remove get_rttos (diff) | |
| download | kernel-e8485911050a60091d1bf51a162f0a2654729fad.tar.gz kernel-e8485911050a60091d1bf51a162f0a2654729fad.zip | |
icmp: reflect tos through ip cookie rather than updating inet_sk
Do not modify socket fields if it can be avoided.
The current code predates the introduction of ip cookies in commit
aa6615814533 ("ipv4: processing ancillary IP_TOS or IP_TTL"). Now that
cookies exist and support tos, update that field directly.
Signed-off-by: Willem de Bruijn <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
