diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-03-06 18:43:22 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-10 04:52:56 +0300 |
| commit | 82f36517a13e6339ddd9737d8a310949e057e596 (patch) | |
| tree | 57a9f6164b9482a6daf4114f57f77a1da3682376 /include | |
| parent | 6927430735802bd8bc5dbe352edbd94a04459567 (diff) | |
| download | linux-82f36517a13e6339ddd9737d8a310949e057e596.tar.xz | |
tcp: avoid dst->ops->check() call in tcp_v{4,6}_do_rcv()
If incoming skb dst matches the socket cached one,
there is no need to call again dst->ops->check().
Network layer already validated the skb dst for us,
usually from tcp_v{4,6}_early_demux().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260306154322.1086539-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
