socket: fix config size calculations

This commit is contained in:
Michael Scire 2021-02-24 03:51:35 -08:00 committed by SciresM
parent 64c7c6b2a5
commit d8faa37de0

View File

@ -21,7 +21,7 @@
namespace ams::socket {
constexpr ALWAYS_INLINE size_t AlignMss(size_t size) {
return util::DivideUp(size, static_cast<size_t>(1500));
return util::DivideUp(size, static_cast<size_t>(1500)) * static_cast<size_t>(1500);
}
class Config {