]> Git Repo - J-linux.git/commitdiff
net: unexport __sk_mem_{raise|reduce}_allocated
authorEric Dumazet <[email protected]>
Thu, 9 Jun 2022 06:34:12 +0000 (23:34 -0700)
committerJakub Kicinski <[email protected]>
Fri, 10 Jun 2022 23:21:27 +0000 (16:21 -0700)
These two helpers are only used from core networking.

Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
net/core/sock.c

index f96efc95e33486f6def627bccb731bd48bc1e6b1..697d5c8e2f0def49351a7d38ec59ab5e875d3b10 100644 (file)
@@ -2987,7 +2987,6 @@ suppress_allocation:
 
        return 0;
 }
-EXPORT_SYMBOL(__sk_mem_raise_allocated);
 
 /**
  *     __sk_mem_schedule - increase sk_forward_alloc and memory_allocated
@@ -3029,7 +3028,6 @@ void __sk_mem_reduce_allocated(struct sock *sk, int amount)
            (sk_memory_allocated(sk) < sk_prot_mem_limits(sk, 0)))
                sk_leave_memory_pressure(sk);
 }
-EXPORT_SYMBOL(__sk_mem_reduce_allocated);
 
 /**
  *     __sk_mem_reclaim - reclaim sk_forward_alloc and memory_allocated
This page took 0.06132 seconds and 4 git commands to generate.