• Paolo Abeni's avatar
    mptcp: push pending frames when subflow has free space · 219d0499
    Paolo Abeni authored
    When multiple subflows are active, we can receive a
    window update on subflow with no write space available.
    MPTCP will try to push frames on such subflow and will
    fail. Pending frames will be pushed only after receiving
    a window update on a subflow with some wspace available.
    
    Overall the above could lead to suboptimal aggregate
    bandwidth usage.
    
    Instead, we should try to push pending frames as soon as
    the subflow reaches both conditions mentioned above.
    
    We can finally enable self-tests with asymmetric links,
    as the above makes them finally pass.
    
    Fixes: 6f8a612a ("mptcp: keep track of advertised windows right edge")
    Reviewed-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    219d0499
protocol.h 19.1 KB