Skip to content
Commit 8295b6d9 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

[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: default avatarEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c5a432f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment