diff options
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 86a258d9af84..629b06182f3f 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -98,7 +98,7 @@ static inline struct netlink_sock *nlk_sk(struct sock *sk) | |||
98 | return container_of(sk, struct netlink_sock, sk); | 98 | return container_of(sk, struct netlink_sock, sk); |
99 | } | 99 | } |
100 | 100 | ||
101 | static inline int netlink_is_kernel(const struct sock *sk) | 101 | static inline int netlink_is_kernel(struct sock *sk) |
102 | { | 102 | { |
103 | return nlk_sk(sk)->flags & NETLINK_KERNEL_SOCKET; | 103 | return nlk_sk(sk)->flags & NETLINK_KERNEL_SOCKET; |
104 | } | 104 | } |