aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/af_llc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r--net/llc/af_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index b9bef2c75026..17bc85d5b7ba 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -518,7 +518,7 @@ static int llc_ui_listen(struct socket *sock, int backlog)
518 if (sock_flag(sk, SOCK_ZAPPED)) 518 if (sock_flag(sk, SOCK_ZAPPED))
519 goto out; 519 goto out;
520 rc = 0; 520 rc = 0;
521 if (!(unsigned)backlog) /* BSDism */ 521 if (!(unsigned int)backlog) /* BSDism */
522 backlog = 1; 522 backlog = 1;
523 sk->sk_max_ack_backlog = backlog; 523 sk->sk_max_ack_backlog = backlog;
524 if (sk->sk_state != TCP_LISTEN) { 524 if (sk->sk_state != TCP_LISTEN) {