Commit 186565ec authored by Meitao Gao's avatar Meitao Gao Committed by Matthias Männich
Browse files

ANDROID: tls: fix WARNING log when run cleanup_net



[  642.528536][   T10] ------------[ cut here ]------------
[  642.534133][   T10] name 'tls_stat'
[  642.538290][   T10] WARNING: CPU: 2 PID: 10 at fs/proc/generic.c:711 remove_proc_entry+0x168/0x1ec
[  642.547450][   T10] Modules linked in: cfg80211 nfc rfkill diag tipc l2tp_ppp l2tp_core tls 8021q ftdi_sio usbserial cdc_acm r8153_ecm aqc111 cdc_ncm cdc_eer
[  642.729734][   T10] CPU: 2 PID: 10 Comm: kworker/u16:0 Tainted: G        W          6.6.77-android15-8-gd415a2d4bd29-ab13153309-4k #1 7378ce27fd0140fb2536fc8739c5efd6ed32ebac
[  642.745520][   T10] Hardware name: ASR LARK EVB (DT)
[  642.750576][   T10] Workqueue: netns cleanup_net
[  642.755314][   T10] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  642.763109][   T10] pc : remove_proc_entry+0x168/0x1ec
[  642.768340][   T10] lr : remove_proc_entry+0x168/0x1ec
[  642.773594][   T10] sp : ffffffc0823d3c70
[  642.777665][   T10] x29: ffffffc0823d3c90 x28: ffffffc0823384e0 x27: ffffffc0823d3d08
[  642.785641][   T10] x26: ffffffc0822357c0 x25: ffffff8108e56e40 x24: 0000000000000008
[  642.793628][   T10] x23: 0000000000000008 x22: ffffff8108e56ec0 x21: ffffffc07b04328c
[  642.801621][   T10] x20: 0000000000000000 x19: ffffffc07b04328c x18: ffffffc0823bd038
[  642.809600][   T10] x17: 00000000f01b0818 x16: 00000000f01b0818 x15: 000000000000008e
[  642.817589][   T10] x14: 0000000000000400 x13: 0000000000037e5e x12: ffffffc0810827b0
[  642.825569][   T10] x11: 0000000000000000 x10: 0000000000000e40 x9 : cb0c6eed96610d00
[  642.833552][   T10] x8 : cb0c6eed96610d00 x7 : 0000000000000001 x6 : fffffffdef8961c0
[  642.841525][   T10] x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
[  642.849520][   T10] x2 : 0000000000000000 x1 : ffffff8100234b00 x0 : ffffff81ff266140
[  642.857478][   T10] Call trace:
[  642.860683][   T10]  remove_proc_entry+0x168/0x1ec
[  642.865580][   T10]  tls_proc_fini+0x1c/0x2c [tls 4a3678445f4ee65a85620a804f4c58a390b38153]
[  642.874239][   T10]  tls_exit_net+0x10/0x20 [tls 4a3678445f4ee65a85620a804f4c58a390b38153]
[  642.882776][   T10]  cleanup_net+0x2e8/0x4b8
[  642.887133][   T10]  process_scheduled_works+0x1d8/0x488
[  642.892520][   T10]  worker_thread+0x244/0x334
[  642.897049][   T10]  kthread+0x114/0x1bc
[  642.901066][   T10]  ret_from_fork+0x10/0x20

Bug: 404959025
Fixes: efb52cd9 ("ANDROID: GKI: enable CONFIG_TLS=m as a GKI module")
Change-Id: I0b6cb8b0325c46423e15580d2825771b3e5957de
Signed-off-by: default avatarMeitao Gao <meitaogao@asrmicro.com>
parent c7dcc4c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment