From d8faa37de0132f0e97a9006dbde8d37fef98a5d5 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 --- .../include/stratosphere/socket/socket_config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/include/stratosphere/socket/socket_config.hpp b/libraries/libstratosphere/include/stratosphere/socket/socket_config.hpp index 0879a2663..0110cd967 100644 --- a/libraries/libstratosphere/include/stratosphere/socket/socket_config.hpp +++ b/libraries/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 {