dccp: use roundup instead of opencoding

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ilpo Järvinen 2008-12-05 22:39:49 -08:00 committed by David S. Miller
parent d2b88814c6
commit 61c1d052a3
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu)
* make it a multiple of 4 * make it a multiple of 4
*/ */
cur_mps -= ((5 + 6 + 10 + 6 + 6 + 6 + 3) / 4) * 4; cur_mps -= roundup(5 + 6 + 10 + 6 + 6 + 6, 4);
/* And store cached results */ /* And store cached results */
icsk->icsk_pmtu_cookie = pmtu; icsk->icsk_pmtu_cookie = pmtu;