|
@@ -759,7 +759,7 @@ static inline int sk_memalloc_socks(void)
|
|
|
|
|
|
#endif
|
|
#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);
|
|
return GFP_ATOMIC | (sk->sk_allocation & __GFP_MEMALLOC);
|
|
}
|
|
}
|