summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2008-06-10 23:25:34 +0200
committerDavid S. Miller <davem@davemloft.net>2008-06-10 23:25:34 +0200
commit99c6f60e72f112b57ddb07abb2e5f771ee211f43 (patch)
treeb955bdf6f02ad700adb0bffd4bcd1c3fc0a20366 /include
parentpppoe: Unshare skb before anything else (diff)
downloadlinux-99c6f60e72f112b57ddb07abb2e5f771ee211f43.tar.xz
linux-99c6f60e72f112b57ddb07abb2e5f771ee211f43.zip
ipsec: pfkey should ignore events when no listeners
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions