From fb16e8c316dd7ee558ef09c694bd36c2134a905b Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 24 Feb 2021 03:51:35 -0800 Subject: [PATCH] socket: fix config size calculations --- libstratosphere/include/stratosphere/socket/socket_config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstratosphere/include/stratosphere/socket/socket_config.hpp b/libstratosphere/include/stratosphere/socket/socket_config.hpp index 0879a266..0110cd96 100644 --- a/libstratosphere/include/stratosphere/socket/socket_config.hpp +++ b/libstratosphere/include/stratosphere/socket/socket_config.hpp @@ -21,7 +21,7 @@ namespace ams::socket { constexpr ALWAYS_INLINE size_t AlignMss(size_t size) { - return util::DivideUp(size, static_cast(1500)); + return util::DivideUp(size, static_cast(1500)) * static_cast(1500); } class Config {