projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce31c9
)
net: constify sk_gfp_atomic() sock argument
author
Eric Dumazet
<edumazet@google.com>
Tue, 29 Sep 2015 14:42:45 +0000
(07:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Sep 2015 23:53:08 +0000
(16:53 -0700)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index 94dff7f566f5cb2a7d2874f376f8d1a723ef7e13..dfe2eb8e1132796ec9467d8fc50209ba9ff50f2d 100644
(file)
--- a/
include/net/sock.h
+++ b/
include/net/sock.h
@@
-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);
}