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

[IPV6]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure



Trivial patch to make "tcpv6,udpv6,udplitev6,rawv6" 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 47a31a6f
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