#10269: ar71xx eth1 is not stable
-------------------------------------------+-------------------------------
Reporter: Eric Liu <hoveringnowings@…> | Owner: developers
Type: defect | Status: reopened
Priority: high | Milestone: Barrier Breaker
Component: kernel | 14.07
Resolution: | Version: Trunk
| Keywords:
-------------------------------------------+-------------------------------
Comment (by uysiquebien):
I have written this that crashes the port every time.
{{{
#!/usr/bin/env python
import socket
TCP_IP = 'xxx'
TCP_PORT = 12345
print("Connecting")
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
s.connect((TCP_IP, TCP_PORT))
print("Connected")
while True:
s.send(b"0123456789")
s.close()
}}}
You just have to have any server that listens for incoming connections,
then run this and the port dies.
--
Ticket URL: <https://dev.openwrt.org/ticket/10269#comment:25>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets