X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fx25%2Fx25_in.c;h=7d7c3abf38b573fa64f1bb35026dc5bf80cdcd3c;hb=15439febb0bd530f85e40ad6fa8e9f75106639ef;hp=1c88762c27943858bbc55394eb0fec6cbf053932;hpb=f697b677620d04d8c77841745727de85f7e948b1;p=linux-2.6 diff --git a/net/x25/x25_in.c b/net/x25/x25_in.c index 1c88762c27..7d7c3abf38 100644 --- a/net/x25/x25_in.c +++ b/net/x25/x25_in.c @@ -247,7 +247,7 @@ static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametyp break; } if (atomic_read(&sk->sk_rmem_alloc) > - (sk->sk_rcvbuf / 2)) + (sk->sk_rcvbuf >> 1)) x25->condition |= X25_COND_OWN_RX_BUSY; } /*