net: spread "enum sock_flags"
Some ints are "enum sock_flags" in fact. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d6547f2a2c
commit
193d357d08
@@ -2512,7 +2512,7 @@ static inline bool sk_listener(const struct sock *sk)
|
||||
return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV);
|
||||
}
|
||||
|
||||
void sock_enable_timestamp(struct sock *sk, int flag);
|
||||
void sock_enable_timestamp(struct sock *sk, enum sock_flags flag);
|
||||
int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, int level,
|
||||
int type);
|
||||
|
||||
|
Reference in New Issue
Block a user