Commit Graph

852 Commits

Author SHA1 Message Date
Christian Bremvåg
547d44bb9b
Merge pull request #424 from u-ra/v5.6.4.1
Fix oops on interface rename
2019-09-28 21:33:58 +00:00
Jurica Vukadin
4b162cbf8e Fix oops on interface rename
Interface renaming crashes because rtw_ndev_notifier_call() tries to get the
adapter from ndev before ndev itself is assigned:

[29504.542194] rtl88xxau 3-5:1.0 wlp0s20u5: renamed from wlan0
[29504.561961] BUG: kernel NULL pointer dereference, address: 00000000000008c0
[29504.561966] #PF: supervisor read access in kernel mode
[29504.561968] #PF: error_code(0x0000) - not-present page
[29504.561970] PGD 0 P4D 0
[29504.561974] Oops: 0000 [#1] PREEMPT SMP NOPTI
[29504.561978] CPU: 5 PID: 27127 Comm: systemd-udevd Tainted: G           OE     5.3.1-arch1-1-ARCH #1
[29504.561979] Hardware name:  /DH87RL, BIOS RLH8710H.86A.0331.2018.0327.1547 03/27/2018
[29504.562035] RIP: 0010:rtw_ndev_notifier_call+0x31/0x55 [88XXau]
[29504.562038] Code: d2 74 45 55 53 48 89 f3 48 8b 2a 48 85 ed 74 12 48 89 ef e8 99 fe ff ff 48 83 fb 0b 75 04 84 c0 75 08 b8 00 00 00 00 5b 5d c3 <48> 8b 04 25 c0 08 00 00 48 8d b8 48 45 00 00 ba 10 00 00 00 48 89
[29504.562041] RSP: 0018:ffffb6e28252f7b0 EFLAGS: 00010202
[29504.562043] RAX: 0000000000000001 RBX: 000000000000000b RCX: 0000000000000001
[29504.562045] RDX: ffffffffc149ce80 RSI: 000000000000000b RDI: ffffa35bb1fad000
[29504.562046] RBP: ffffa35bb1fad000 R08: 0000000000800000 R09: ffffffffa489c660
[29504.562047] R10: ffffb6e28252f7c8 R11: ffffb6e38252f6b6 R12: 000000000000000b
[29504.562048] R13: ffffb6e28252f818 R14: ffffffffa4907d20 R15: 0000000000000000
[29504.562050] FS:  00007f638323f840(0000) GS:ffffa35c8eb40000(0000) knlGS:0000000000000000
[29504.562051] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[29504.562053] CR2: 00000000000008c0 CR3: 000000040bcb6006 CR4: 00000000001606e0
[29504.562054] Call Trace:
[29504.562062]  notifier_call_chain+0x4c/0x70
[29504.562067]  dev_change_name+0x219/0x320
[29504.562071]  do_setlink+0xd45/0xf10
[29504.562077]  ? preempt_count_add+0x68/0xa0
[29504.562081]  ? _raw_spin_lock+0x13/0x30
[29504.562083]  ? _raw_spin_unlock+0x16/0x30
[29504.562087]  ? get_partial_node.isra.0.part.0+0xc2/0x210
[29504.562090]  ? __alloc_pages_nodemask+0x1c4/0x10b0
[29504.562093]  rtnl_setlink+0x105/0x170
[29504.562099]  rtnetlink_rcv_msg+0x137/0x3c0
[29504.562101]  ? rtnl_calcit.isra.0+0x120/0x120
[29504.562105]  netlink_rcv_skb+0x75/0x140
[29504.562108]  netlink_unicast+0x177/0x1f0
[29504.562111]  netlink_sendmsg+0x204/0x3d0
[29504.562116]  sock_sendmsg+0x5e/0x60
[29504.562118]  __sys_sendto+0x120/0x190
[29504.562122]  __x64_sys_sendto+0x25/0x30
[29504.562125]  do_syscall_64+0x5f/0x1c0
[29504.562128]  entry_SYSCALL_64_after_hwframe+0x44/0xa9

Move the assignment further down after ndev is known.

Signed-off-by: Jurica Vukadin <jura@vukad.in>
2019-09-28 22:37:51 +02:00
Christian Bremvåg
ddd1bbde09
Update README.md 2019-09-28 17:26:03 +00:00
kimocoder
90d03c245c Fixed 2 warnings on Ubuntu 2019-09-27 23:18:20 -07:00
Christian Bremvåg
5660ab917e
Add kernel v5.3.1 check to Travis CI 2019-09-22 02:44:09 +02:00
kimocoder
3c9b7800a6 Adding back a working fix for update channel info 2019-09-19 21:28:03 +02:00
kimocoder
2f5c8e6ea9 Fix errors from all patches added earlier 2019-09-19 21:05:16 +02:00
kimocoder
4fe60d92e5 Fix errors from all patches added earlier 2019-09-19 21:05:00 +02:00
kimocoder
9d91ee955a Add missing include 2019-09-19 15:55:47 +00:00
kimocoder
51dbe24468 short GI is supported on all bands 2019-09-19 15:53:31 +00:00
kimocoder
72555281a8 Add support for getting mac-address from devicetree 2019-09-19 15:49:01 +00:00
kimocoder
1f42fba64c Added Travis build check icon 2019-09-19 15:40:25 +00:00
kimocoder
43b099231f Fix update channel info 2019-09-19 15:27:45 +00:00
kimocoder
bb94a25ef6 fix country setting and update vhc configure and rate fix (part 2) 2019-09-19 15:19:15 +00:00
kimocoder
9e6fd2455c fix country setting and update vhc configure and rate fix (part 1) 2019-09-19 14:18:39 +00:00
kimocoder
dec5aaf128 Protect against pfhdr NULL 2019-09-19 14:14:33 +00:00
kimocoder
dcad331843 Quiet default logging 2019-09-19 13:27:40 +00:00
kimocoder
a5043d715b Add support for network namespaces 2019-09-19 13:24:09 +00:00
kimocoder
8c1b6f68f0 cfg80211: Fixed unallocated stats 2019-09-19 11:42:27 +00:00
Christian Bremvåg
88729508ad
Update README.md 2019-09-19 13:29:25 +02:00
Christian Bremvåg
9be1e68c35
Update Travis to stable v5.3 2019-09-19 13:27:27 +02:00
Christian Bremvåg
15f9179d66
Update README.md 2019-09-08 22:12:47 +02:00
kimocoder
5129cac125 Added support for Edimax EW-7611UCB 2019-09-08 22:10:44 +02:00
kimocoder
5c2cc3adfa Merge branch 'v5.6.4.1' of https://github.com/aircrack-ng/rtl8812au into v5.6.4.1 2019-09-08 22:08:15 +02:00
kimocoder
abf81a658b Add support for TP-Link Archer T2U v3 2019-09-08 22:07:52 +02:00
Christian Bremvåg
61e6e33c9a
Update README.md 2019-09-08 22:03:08 +02:00
kimocoder
a9695de429 Turned off USB ModeSwitch function/switch, may cause some trouble 2019-09-08 21:46:56 +02:00
kimocoder
bd54921c33 Cleanup/fix RAW_DATA policy (kernel v5.3) issue 2019-09-08 20:48:07 +02:00
Christian Bremvåg
b2b491938f
Update README.md: Clean credits / Contributors 2019-09-08 18:17:08 +02:00
Christian Bremvåg
358fcdae3e
Update README.md 2019-09-08 18:14:45 +02:00
kimocoder
e35068cfcb Added TX_POWER_TO_MAX setting 2019-09-08 07:45:13 +00:00
root
0c7cac8843 Fix & cleanup kernel v5.3 support 2019-09-08 07:40:58 +00:00
Christian Bremvåg
57871abeba
Merge pull request #410 from fariouche/v5.6.4.1
Fixed CONCURRENT mode and enum
2019-09-02 22:55:55 +02:00
fariouche
0668cf0d2b revert Makefile 2019-09-02 22:37:59 +02:00
fariouche
bedff3150b fixed init does not detect 8812 correctly because of unaligned enum values 2019-09-02 22:30:51 +02:00
fariouche
5386896ef8 fixed CONCURRENT mode not working 2019-09-02 22:30:11 +02:00
fariouche
52a773fdf1 Merged upstream 2019-09-02 22:29:26 +02:00
Christian Bremvåg
611d8dbfcc
Some ARM and PowerPC support fix 2019-09-01 12:26:57 +02:00
Christian Bremvåg
4640aca311
Support kernel PIC mode compiling 2019-09-01 12:20:13 +02:00
fariouche
5e7e1dec1d enabled concurent mode 2019-08-31 17:44:23 +02:00
Christian Bremvåg
761d5f6b9c
Update README.md 2019-08-26 04:28:55 +02:00
Christian Bremvåg
8011bff6b2
Update README.md
* Fix bold statement
2019-08-25 21:30:20 +02:00
Christian Bremvåg
00d9a8ede8
Update README.md 2019-08-25 21:28:57 +02:00
Christian Bremvåg
284e0098a4
Update README.md
* Add credits (just started, will update again soon)
2019-08-25 21:28:03 +02:00
Christian Bremvåg
baf9ff53f8
Update README.md
* Fix version badge
* Make IPERF3 benchmark spec cleaner
2019-08-25 21:24:45 +02:00
Christian Bremvåg
59c9d767c2
Merge pull request #405 from CGarces/patch-1
Fix Travis integration
2019-08-25 11:22:28 +02:00
Carlos Garcés
75b34a1233
Fix Travis integration
Fixed indentation error.
Updated to last mainline and LTS.
2019-08-25 10:49:18 +02:00
kimocoder
908f8a9fc5 Cleanup of unused / unsupported chipsets 2019-08-24 08:07:50 +02:00
kimocoder
4137e7a019 Cleanup in and around HAL 2019-08-24 06:42:21 +02:00
Christian Bremvåg
c3312a7b2a
Update README.md 2019-08-24 06:12:58 +02:00