commit 46c7b5d6f2a51c355b29118814fbfbdb79c35656 upstream.
commit b6653b3629e5b88202be3c9abc44713973f5c4b4 upstream.
tcp_fragment() might be called for skbs in the write queue.
Memory limits might have been exceeded because tcp_sendmsg() only
checks limits at full skb (64KB) boundaries.
Therefore, we need to make sure tcp_fragment() wont punish applications
that might have setup very low SO_SNDBUF values.
Fixes: f070ef2ac667 ("tcp: tcp_fragment() should apply sane memory limits")
- Ported from RMerlin, thanks.
fe66c7b88f
commit 46c7b5d6f2a51c355b29118814fbfbdb79c35656 upstream
commit b6653b3629e5b88202be3c9abc44713973f5c4b4 upstream
Memory limits might have been exceeded because tcp_sendmsg() only
checks limits at full skb (64KB) boundaries.
Therefore, we need to make sure tcp_fragment() wont punish applications
that might have setup very low SO_SNDBUF values.
Fixes: f070ef2ac667 ("tcp: tcp_fragment() should apply sane memory limits")
- Ported from RMerlin, thanks.
fe66c7b88f
Make sure that GPIO Pin 13 is always on --> it is connected to the WiFi IC (Power supply?);
otherwise signal will be very weak!
So far this is no change, the Asus driver for Tomato RT-N18U turns GPIO 13 on (HIGH) at startup.
But to make sure, add it. (align also to dd wrt)
Additional Reference:
https://svn.dd-wrt.com/changeset/30263/src/router/services/sysinit/sysinit-northstar.c
gpio13 is somehow connected to the wireless chipset. so we need to keep it enabled, otherwise signal will be weak on the Asus RT-N18U
tested with RT-N18U, working (like before)
commit 46c7b5d6f2a51c355b29118814fbfbdb79c35656 upstream
commit b6653b3629e5b88202be3c9abc44713973f5c4b4 upstream
Memory limits might have been exceeded because tcp_sendmsg() only
checks limits at full skb (64KB) boundaries.
Therefore, we need to make sure tcp_fragment() wont punish applications
that might have setup very low SO_SNDBUF values.
Fixes: f070ef2ac667 ("tcp: tcp_fragment() should apply sane memory limits")
- Ported from RMerlin, thanks.
fe66c7b88f
Make sure that GPIO Pin 13 is always on --> it is connected to the WiFi IC (Power supply?);
otherwise signal will be very weak!
So far this is no change, the Asus driver for Tomato RT-N18U turns GPIO 13 on (HIGH) at startup.
But to make sure, add it. (align also to dd wrt)
Additional Reference:
https://svn.dd-wrt.com/changeset/30263/src/router/services/sysinit/sysinit-northstar.c
gpio13 is somehow connected to the wireless chipset. so we need to keep it enabled, otherwise signal will be weak on the Asus RT-N18U
tested with RT-N18U, working (like before)