diff options
| author | 2018-04-23 14:46:25 -0700 | |
|---|---|---|
| committer | 2018-04-24 13:20:03 -0400 | |
| commit | 8c2320e84c193d4d42b8446986afa2797fb411e1 (patch) | |
| tree | a48a7aee60f3098f9a0f50296500556f1dec8b91 /scripts/bpf_helpers_doc.py | |
| parent | Revert "net: init sk_cookie for inet socket" (diff) | |
| download | wireguard-linux-8c2320e84c193d4d42b8446986afa2797fb411e1.tar.xz wireguard-linux-8c2320e84c193d4d42b8446986afa2797fb411e1.zip | |
tcp: md5: only call tp->af_specific->md5_lookup() for md5 sockets
RETPOLINE made calls to tp->af_specific->md5_lookup() quite expensive,
given they have no result.
We can omit the calls for sockets that have no md5 keys.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
