]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/x25/x25_in.c
cpumask: introduce new API, without changing anything, v3
[linux-2.6-omap-h63xx.git] / net / x25 / x25_in.c
index 1c88762c27943858bbc55394eb0fec6cbf053932..7d7c3abf38b573fa64f1bb35026dc5bf80cdcd3c 100644 (file)
@@ -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;
                        }
                        /*