Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87e002b2 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: constify sk_gfp_atomic() sock argument

parent 1ce31c9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -759,7 +759,7 @@ static inline int sk_memalloc_socks(void)

#endif

static inline gfp_t sk_gfp_atomic(struct sock *sk, gfp_t gfp_mask)
static inline gfp_t sk_gfp_atomic(const struct sock *sk, gfp_t gfp_mask)
{
	return GFP_ATOMIC | (sk->sk_allocation & __GFP_MEMALLOC);
}