5673 Commits

Author SHA1 Message Date
hanwckf
23387b278a update github-actions 2021-06-14 22:09:35 +08:00
minax007
8c2a70e36f boards: add support for XIAOMI Mi-4 (#671)
* boards: add support for XIAOMI Mi-4

* boards: add support for XIAOMI Mi-4

* Update kernel-3.4.x.config

* Alignment of the settings of other templates 

Following configurations were set to "y":
CONFIG_FIRMWARE_INCLUDE_MINIEAP=y
CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT=y
2021-06-14 19:31:21 +08:00
hanwckf
55a1bd6584 rc: allow kickrssi/assocrssi equal to zero 2021-06-10 16:44:42 +08:00
hanwckf
b51f8ee62c shared: enable WMM by default 2021-06-08 10:06:38 +08:00
hanwckf
57d84622da rc: check AssocReqRssiThres & KickStaRssiLow is vaild 2021-06-08 01:38:16 +08:00
hanwckf
123db7b1eb boards: MI-R3P: fix kernel configs 2021-06-07 23:18:45 +08:00
hanwckf
4da3cf22ed openvpn: fix build 2021-06-07 22:52:32 +08:00
hanwckf
cbadfe5820 mt7615: revert cr4 fw to 20190415154149 (MT7622_7615_SoftAP_5.0.4.0_bb5ba3_20190503) 2021-06-07 18:13:35 +08:00
hanwckf
ba50962c95 rc: fix mt7915 wifi6 related configs 2021-06-07 10:05:54 +08:00
hanwckf
376fb7c4a6 rc: fix mt7615 UAPSDCapable config 2021-06-07 10:05:50 +08:00
hanwckf
d515edd9a6 mt7615: update n9 fw to 20200814163649, cr4 fw to 20190121161307
copy from openwrt/mt76
2021-06-06 02:12:14 +08:00
hanwckf
7974a6d737 rc: fix mt7615 ACS alg 2021-06-06 02:12:14 +08:00
hanwckf
2d64053c91 boards: bump mt7615/mt7915 kernel config 2021-06-06 02:12:14 +08:00
hanwckf
fc5e8ff552 mt7915: fix kconfig 2021-06-06 02:09:33 +08:00
hanwckf
dab37f6df6 mt7615: update to MT7622_7615_SoftAP_5.0.5.1_85befc_20200629 2021-06-06 02:09:33 +08:00
hanwckf
87402b4047 www: fix ez button params 2021-06-01 13:22:56 +08:00
hanwckf
7207f2102d boards: fix board CFLAGS 2021-05-29 00:34:47 +08:00
hanwckf
b7e10dcaac makefile: fix typo 2021-05-26 20:30:37 +08:00
blioild
c41551f3d2 MI-R3P: fix front leds (#652) 2021-05-21 19:05:52 +08:00
hanwckf
000eaa585a boards: revert BOARD_NUM_ETH_LEDS 2021-05-19 22:09:34 +08:00
blioild
b668b42904 add smartdns (#645) 2021-05-19 12:38:08 +08:00
hanwckf
13eb41146d boards: fix esw & NETGEAR-BZV leds 2021-05-19 11:00:49 +08:00
AmadeusGhost
eb440a8662 boards: add support for JCG Q20 (#650) 2021-05-19 11:00:14 +08:00
SmartFxxker
6a13be935b htop: Update Makefile (#644)
Co-authored-by: SmartFxxker <25600161+lvyouang@users.noreply.github.com>
2021-05-19 10:58:58 +08:00
hanwckf
4e91614567 tools: update depmod.sh 2021-05-18 20:05:42 +08:00
hanwckf
fb4d4363af mt7915: remove noisy logs 2021-05-12 21:03:54 +08:00
hanwckf
a7d4cd5223 mt7915: remove noisy log 2021-05-12 13:27:20 +08:00
hanwckf
5aefcdd215 mt7915: remove noisy logs 2021-05-09 20:30:24 +08:00
hanwckf
451a69d2e0 rwfs2ubi.sh: fix typo 2021-05-08 22:13:09 +08:00
hanwckf
cc95d7ea1a scripts: add rwfs2ubi.sh to create ubifs at RWFS partition 2021-05-08 22:07:15 +08:00
hanwckf
94f2c17ecd mt7915: remove noisy logs 2021-05-08 20:56:16 +08:00
hanwckf
bbec607b7f www: update dict trans 2021-05-08 18:36:43 +08:00
hanwckf
3014398e01 clear_tree_simple: clean libtirpc to prevent ci build error 2021-05-08 18:31:27 +08:00
hanwckf
7400efd24d fix issue #639 2021-05-08 18:26:38 +08:00
hanwckf
112f3e67c4 boards: enable openvpn and openssl bin 2021-05-07 14:06:47 +08:00
hanwckf
11f4066a41 www: update ovpn trans 2021-05-07 10:55:50 +08:00
Alexey
f98be90978 kernel: ubifs: Fix compilation after "Fix default compression selection in ubifs" (old kernel) 2021-05-07 00:47:31 +08:00
Richard Weinberger
94d231ed5a kernel: ubifs: Fix memory leak in lprobs self-check
Allocate the buffer after we return early.
Otherwise memory is being leaked.

Cc: <stable@vger.kernel.org>
Fixes: 1e51764a3c2a ("UBIFS: add new flash file system")
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Gabor Juhos
3063fc7a9e kernel: ubifs: Fix default compression selection in ubifs
When ubifs is build without the LZO compressor and no compressor is
given the creation of the default file system will fail. before
selection the LZO compressor check if it is present and if not fall back
to the zlib or none.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Al Viro
59398bdd1e kernel: ubifs: fix use-after-free on symlink traversal
free the symlink body after the same RCU delay we have for freeing the
struct inode itself, so that traversal during RCU pathwalk wouldn't step
into freed memory.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2021-05-07 00:47:31 +08:00
Liu Song
2d391cf2a5 kernel: ubifs: Simplify redundant code
cbuf's size can be simply assigned.

Signed-off-by: Liu Song <liu.song11@zte.com.cn>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Ding Xiang
17f718d37c kernel: ubifs: Remove unneeded semicolon
delete redundant semicolon

Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Richard Weinberger
1362a6defd kernel: ubifs: Check for name being NULL while mounting
The requested device name can be NULL or an empty string.
Check for that and refuse to continue. UBIFS has to do this manually
since we cannot use mount_bdev(), which checks for this condition.

Fixes: 1e51764a3c2ac ("UBIFS: add new flash file system")
Reported-by: syzbot+38bd0f7865e5c6379280@syzkaller.appspotmail.com
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Pan Bian
710a9d7673 kernel: ubi: Put MTD device after it is not used
The MTD device reference is dropped via put_mtd_device, however its
field ->index is read and passed to ubi_msg. To fix this, the patch
moves the reference dropping after calling ubi_msg.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-05-07 00:47:31 +08:00
Sergey Aleynikov
da6c025ed5 pppoe: only process PADT targeted at local interfaces
We don't want to disconnect a session because of a stray PADT arriving
while the interface is in promiscuous mode.
Furthermore, multicast and broadcast packets make no sense here, so
only PACKET_HOST is accepted.

Reported-by: David Balažic <xerces9@gmail.com>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-07 00:47:31 +08:00
Brent Taylor
bc2631e83f kernel: mtd: nand: Fix writing mtdoops to nand flash.
commit 30863e38ebeb500a31cecee8096fb5002677dd9b upstream.

When mtdoops calls mtd_panic_write(), it eventually calls
panic_nand_write() in nand_base.c. In order to properly wait for the
nand chip to be ready in panic_nand_wait(), the chip must first be
selected.

When using the atmel nand flash controller, a panic would occur due to
a NULL pointer exception.

Fixes: 2af7c6539931 ("mtd: Add panic_write for NAND flashes")
Signed-off-by: Brent Taylor <motobud@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Oleg Sviridov <developermzrip@gmail.com>
2021-05-07 00:47:30 +08:00
Christoph Hellwig
7a53f2268d kernel: mips: fix an off-by-one in dma_capable
This makes it match the generic version.

Reported-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-05-07 00:47:30 +08:00
Oleg Sviridov
cc814d0ce0 kernel: fix GPIO Read-Modify-Write potencial problem fix reset MT7603 2021-05-07 00:47:30 +08:00
Alexey
66ce9e68d4 openvpn: webui: add ED25519 and ED448 keys. change signature 2021-05-07 00:47:30 +08:00
hanwckf
38e678ec20 webui: openvpn: add tls-crypto-v2 managment. 2021-05-07 00:47:30 +08:00