Skip to content

Commit 0f2c269

Browse files
edumazetkuba-moo
authored andcommitted
net: unexport __sk_mem_{raise|reduce}_allocated
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]>
1 parent 4890b68 commit 0f2c269

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/core/sock.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,7 +2987,6 @@ int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind)
29872987

29882988
return 0;
29892989
}
2990-
EXPORT_SYMBOL(__sk_mem_raise_allocated);
29912990

29922991
/**
29932992
* __sk_mem_schedule - increase sk_forward_alloc and memory_allocated
@@ -3029,7 +3028,6 @@ void __sk_mem_reduce_allocated(struct sock *sk, int amount)
30293028
(sk_memory_allocated(sk) < sk_prot_mem_limits(sk, 0)))
30303029
sk_leave_memory_pressure(sk);
30313030
}
3032-
EXPORT_SYMBOL(__sk_mem_reduce_allocated);
30333031

30343032
/**
30353033
* __sk_mem_reclaim - reclaim sk_forward_alloc and memory_allocated

0 commit comments

Comments
 (0)