Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61c1d052 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

dccp: use roundup instead of opencoding

parent d2b88814
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu)
	 * 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 */
	icsk->icsk_pmtu_cookie = pmtu;