summaryrefslogtreecommitdiff
path: root/include/linux/rhashtable.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-04-24 00:46:25 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-24 20:20:03 +0300
commit8c2320e84c193d4d42b8446986afa2797fb411e1 (patch)
treea48a7aee60f3098f9a0f50296500556f1dec8b91 /include/linux/rhashtable.h
parenta06ac0d67d9fda7c255476c6391032319030045d (diff)
downloadlinux-8c2320e84c193d4d42b8446986afa2797fb411e1.tar.xz
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 'include/linux/rhashtable.h')
0 files changed, 0 insertions, 0 deletions