https://github.com/torvalds/linux
Revision 99c6f60e72f112b57ddb07abb2e5f771ee211f43 authored by Jamal Hadi Salim on 10 June 2008, 21:25:34 UTC, committed by David S. Miller on 10 June 2008, 21:25:34 UTC
When pfkey has no km listeners, it still does a lot of work
before finding out there aint nobody out there.
If a tree falls in a forest and no one is around to hear it, does it make
a sound? In this case it makes a lot of noise:
With this short-circuit adding 10s of thousands of SAs using
netlink improves performance by ~10%.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bc6cffd
History
Tip revision: 99c6f60e72f112b57ddb07abb2e5f771ee211f43 authored by Jamal Hadi Salim on 10 June 2008, 21:25:34 UTC
ipsec: pfkey should ignore events when no listeners
Tip revision: 99c6f60
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 686 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.3 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top