diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-11-05 23:40:28 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-07 04:09:00 -0800 |
commit | 8295b6d9e623879344ed0ca7565336e4fd698e42 (patch) | |
tree | f80798af3cbd0a4006325037313a195f410dcd23 /net/sctp/ulpevent.c | |
parent | c5a432f1a18b4b2efe691dd6bbb30d86a281f783 (diff) |
[SCTP]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure
Trivial patch to make "sctcp,sctpv6" protocols uses the fast "inuse
sockets" infrastructure
Each protocol use then a static percpu var, instead of a dynamic one.
This saves some ram and some cpu cycles
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ulpevent.c')
0 files changed, 0 insertions, 0 deletions