commit | 8295b6d9e623879344ed0ca7565336e4fd698e42 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Mon Nov 05 23:40:28 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Nov 07 04:09:00 2007 -0800 |
tree | f80798af3cbd0a4006325037313a195f410dcd23 | |
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>