Commit Graph

5495 Commits (2021.7)
 

Author SHA1 Message Date
M_ars 4983ee4d60 Tenda AC18: use variable 1:boardnum=AC18_5G to determine Tenda AC18 (and add some more infos)
Hint: align to Tenda AC15 detection
see also https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-149#post-308062

tested with Tenda AC18, working
6 years ago
M_ars 5ca351d8c7 Tenda AC15: correct/fix detection, caused by commit 2b1294a413
There are at least 2 different hw/cfe versions from Tenda for that model. With this change, all known versions are correctly detected (again)
See also:
https://www.linksysinfo.org/index.php?threads/fork-freshtomato-arm.74117/page-149#post-308062

Thx to Techie007 for helping & testing
6 years ago
M_ars 11ee7a4e29 Merge remote-tracking branch 'remotes/pedro311/freshtomato-arm/arm-master' into arm-master 6 years ago
pedro 0f511438c5 Merge branch 'arm-master' into arm-master-huawei-cdc-ncm 6 years ago
pedro 5314423ad2 TTB: fix memory leak, when WAN or tomatothemebase.eu is down
- bug present from the very beginning
6 years ago
pedro 7708dfc36c kernel: drivers: net: usb: usbnet: ignore endpoints with invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the drivers more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of these endpoints are used for memory allocations
and as divisors in many usbnet minidrivers. Avoiding zero is therefore
critical.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 8d3d7c2029
6 years ago
pedro 74eecaae1a kernel: drivers: net: usb: cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the driver more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of the out pipe is used as divisor. So this change
fixes a divide-by-zero bug.

Reported-by: syzbot+ce366e2b8296e25d84f5@syzkaller.appspotmail.com
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Per upstream: 3fe4b33513
6 years ago
pedro 8bbaaf5bfa kernel: drivers: net: usb: usbnet: sanity checking of packet sizes and device mtu
After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.

Reported-and-tested-by:  syzbot+6102c120be558c885f04@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Per upstream: 280ceaed79
6 years ago
pedro 0633442a12 dnsmasq: update to e710c34 snapshot
- cosmetics in patch
6 years ago
pedro 46d4e37f0b miniupnpd: update to 2.1.20190924
- cosmetic in patch
6 years ago
pedro 2e2b928f32 router: rc: firewall.c: fix compiler warning 6 years ago
pedro 9a6134c9c4 GUI: OpenVPN server: extend Username field to 25 chars 6 years ago
pedro c66fc5aded Update CHANGELOG 6 years ago
M_ars 257058d8ee Add Asus RT-AC66U B1 / RT-AC68U (C1/E1) support
based on the work of snowman58 (Don Bushway) - THX a lot :-)
6 years ago
M_ars a30b1e86ab Add Netgear R6400v2 support
based on the work of snowman58 (Don Bushway) - THX a lot :-)
6 years ago
M_ars 12ad696d48 SDK6 update: Add support for C0 CPU
based on the work of snowman58 (Don Bushway) - THX a lot :-)
6 years ago
pedro c2ddb25844 Update CHANGELOG 6 years ago
M_ars bde60fd635 shared: id.c - clean-up & documentation (for R6400 and RT-AC68U)
(plus remove not used case at advanced-vlan.asp)
6 years ago
kille72 752e2b4059 Merge branch 'shibby-arm' into shibby-arm7-huawei-cdc-ncm 6 years ago
kille72 03a3bdb10b Merge branch 'shibby-arm' into shibby-arm7 6 years ago
kille72 9c92f37b8b Merge branch 'shibby-arm' into shibby-arm-huawei-cdc-ncm 6 years ago
pedro 9fdf0d8be6 Update CHANGELOG 6 years ago
pedro df245e1375 Xiaomi R1D: automatic fanctrl rework
- based on commits by @tsynik. Thanks!
6 years ago
M_ars 6575a25f97 EA6200 / EA6350v1: small fix/correction for rebranding commit (build naming)
fix/completion for commit b10be3f652
--> showing correct now
6 years ago
M_ars 26d45dfe40 shared: id.c - clean-up & documentation (for R6400 and RT-AC68U)
(plus remove not used case at advanced-vlan.asp)
6 years ago
pedro 1560b90582 Merge branch 'arm-master' into arm-master-huawei-cdc-ncm 6 years ago
pedro dfc69b6641 Update CHANGELOG 6 years ago
pedro 92230706c0 Xiaomi R1D: automatic fanctrl rework
- based on commits by @tsynik. Thanks!
6 years ago
M_ars f32c4614b7 EA6200 / EA6350v1: small fix/correction for rebranding commit (build naming)
fix/completion for commit b10be3f652
--> showing correct now
6 years ago
kille72 4a608df906 tor: updated to 0.4.1.6 6 years ago
kille72 c42c9115bf tor: updated to 0.4.1.6 6 years ago
kille72 7fbf636647 libusb: fix libusb source files 6 years ago
pedro bf46af2052 libusb: fix libusb source files 6 years ago
kille72 00f46c8bff Merge branch 'shibby-arm' into shibby-arm7-huawei-cdc-ncm 6 years ago
kille72 f7232d4a2c Merge branch 'shibby-arm' into shibby-arm7 6 years ago
kille72 7f5f5ff598 Merge branch 'shibby-arm' into shibby-arm-huawei-cdc-ncm 6 years ago
pedro b33d892c41 router: Makefile: tune OpenVPN recipe 6 years ago
pedro 309302754c router: Makefile: libsub: fix typo
- usb_modeswitch works again
6 years ago
pedro 4d56cce528 kernel: drivers: net: usb: fixes/additions from the upstream
- qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
  245d21190a

- qmi_wwan: apply SET_DTR quirk to Sierra WP7607
  97dc47a130

- qmi_wwan: Add support for Quectel EG12/EM12
  822e44b45e

- qmi_wwan: add Olicard 600
  6289d0facd

- qmi_wwan: Add quirk for Quectel dynamic config
  e4bf63482c

- qmi_wwan: new Wistron, ZTE and D-Link devices
  88ef66a283

- qmi_wwan: add Telit 0x1260 and 0x1261 compositions
  b4e467c82f

- qmi_wwan: Fix out-of-bounds read
  904d88d743

- qmi_wwan: add D-Link DWM-222 A2 device ID
  7d60530973

- qmi_wwan: Add the BroadMobi BM818 card
  9a07406b00

- cdc_ncm: remove set but not used variable 'ctx'
  1b8530bf6a

- cdc_ncm: remove useless hrtimer_active check
  2aee167c36

- cdc_ncm: use tasklet_init() for tasklet_struct init
  8cc1da96d1

- cdc_ether: trivial whitespace readability fix
  a29c3c09ba

- cdc_ether: fix rndis support for Mediatek based smartphones
  4d7ffcf3bf

- usbnet: make driver_info const
  f3edc2dbe0

- usbnet: fix kernel crash after disconnect
  ad70411a97

... and drivers/usb/class/cdc-wdm:

- cdc-wdm:  Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_oustanding_interrupt()"
  e871db8d78

- cdc-wdm: pass return value of recover_from_urb_loss
  0742a338f5

- cdc-wdm: remove redundant assignment to rv
  6dade7ad88

- cdc-wdm: fix race between write and disconnect due to flag abuse
  1426bd2c9f
6 years ago
pedro 221672bb67 kernel sdk7: drivers: net: usb: fixes/additions from the upstream
- qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
  245d21190a

- qmi_wwan: apply SET_DTR quirk to Sierra WP7607
  97dc47a130

- qmi_wwan: Add support for Quectel EG12/EM12
  822e44b45e

- qmi_wwan: add Olicard 600
  6289d0facd

- qmi_wwan: Add quirk for Quectel dynamic config
  e4bf63482c

- qmi_wwan: new Wistron, ZTE and D-Link devices
  88ef66a283

- qmi_wwan: add Telit 0x1260 and 0x1261 compositions
  b4e467c82f

- qmi_wwan: Fix out-of-bounds read
  904d88d743

- qmi_wwan: add D-Link DWM-222 A2 device ID
  7d60530973

- qmi_wwan: Add the BroadMobi BM818 card
  9a07406b00

- cdc_ncm: remove set but not used variable 'ctx'
  1b8530bf6a

- cdc_ncm: remove useless hrtimer_active check
  2aee167c36

- cdc_ncm: use tasklet_init() for tasklet_struct init
  8cc1da96d1

- cdc_ether: trivial whitespace readability fix
  a29c3c09ba

- cdc_ether: fix rndis support for Mediatek based smartphones
  4d7ffcf3bf

- usbnet: make driver_info const
  f3edc2dbe0

- usbnet: fix kernel crash after disconnect
  ad70411a97

... and drivers/usb/class/cdc-wdm:

- cdc-wdm:  Revert "usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_oustanding_interrupt()"
  e871db8d78

- cdc-wdm: pass return value of recover_from_urb_loss
  0742a338f5

- cdc-wdm: remove redundant assignment to rv
  6dade7ad88

- cdc-wdm: fix race between write and disconnect due to flag abuse
  1426bd2c9f
6 years ago
pedro d8ef883252 router: others: webmon_bkp: cosmetics again 6 years ago
kille72 4559db91a6 Merge branch 'shibby-arm' into shibby-arm7 6 years ago
kille72 d329681ab0 Merge branch 'shibby-arm' into shibby-arm7-huawei-cdc-ncm 6 years ago
kille72 553985e629 Merge branch 'shibby-arm' into shibby-arm-huawei-cdc-ncm 6 years ago
pedro 5a77f600d0 libevent: update to 2.1.11-stable + libs optimization 6 years ago
pedro 0fd955fd12 libcurl: update to 7.66.0 + libs optimization 6 years ago
pedro 81dbd9b8a1 openssl: update to 1.0.2t 6 years ago
kille72 9c1b5d6793 libusb: update to 1.0.23 6 years ago
pedro eeb1815b59 dnsmasq: update to 2.80-e24abf2 snapshot
- cosmetic in patch
6 years ago
pedro 4735e20770 Clean-up tree and Makefile (unused package udev) 6 years ago