android_kernel_sony_sdm845/net/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Di Zhu 220871dbfc pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
[ Upstream commit 275b1e88cabb34dbcbe99756b67e9939d34a99b6 ]

pktgen create threads for all online cpus and bond these threads to
relevant cpu repecivtily. when this thread firstly be woken up, it
will compare cpu currently running with the cpu specified at the time
of creation and if the two cpus are not equal, BUG_ON() will take effect
causing panic on the system.
Notice that these threads could be migrated to other cpus before start
running because of the cpu hotplug after these threads have created. so the
BUG_ON() used here seems unreasonable and we can replace it with WARN_ON()
to just printf a warning other than panic the system.

Signed-off-by: Di Zhu <zhudi21@huawei.com>
Link: https://lore.kernel.org/r/20210125124229.19334-1-zhudi21@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-07 11:25:57 +01:00
..
datagram.c net: add READ_ONCE() annotation in __skb_wait_for_more_packets() 2019-11-10 11:23:25 +01:00
dev.c net: disable netpoll on fresh napis 2020-09-12 11:47:40 +02:00
dev_addr_lists.c net: fix uninit-value in __hw_addr_add_ex() 2018-05-16 10:08:41 +02:00
dev_ioctl.c net: Zero terminate ifr_name in dev_ifname(). 2017-08-11 08:49:32 -07:00
devlink.c devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill() 2020-11-24 13:02:53 +01:00
drop_monitor.c drop_monitor: work around gcc-10 stringop-overflow warning 2020-05-20 08:15:33 +02:00
dst.c Fix an intermittent pr_emerg warning about lo becoming free. 2017-07-05 14:40:14 +02:00
dst_cache.c
ethtool.c net: ethtool: Add back transceiver type 2020-01-29 10:24:36 +01:00
fib_rules.c net: fib_rules: Correctly set table field when table number exceeds 8 bits 2020-03-11 07:53:04 +01:00
filter.c bpf: fix 32-bit divide by zero 2018-01-31 12:55:57 +01:00
flow.c
flow_dissector.c net/flow_dissector: switch to siphash 2019-11-10 11:23:31 +01:00
gen_estimator.c
gen_stats.c gen_stats: Fix netlink stats dumping in the presence of padding 2018-07-25 11:24:00 +02:00
hwbm.c
link_watch.c
lwtunnel.c lwtunnel: Fix oops on state free after encap module unload 2017-02-04 09:47:11 +01:00
Makefile
neighbour.c neigh_stat_seq_next() should increase position index 2020-10-01 20:40:04 +02:00
net-procfs.c
net-sysfs.c net-sysfs: add a newline when printing 'tx_timeout' by sysfs 2020-07-31 16:44:06 +02:00
net-sysfs.h
net-traces.c
net_namespace.c net/net_namespace: Check the return value of register_pernet_subsys() 2019-12-05 15:34:55 +01:00
netclassid_cgroup.c cgroup, netclassid: periodically release file_lock on classid updating 2020-03-20 09:07:37 +01:00
netevent.c
netpoll.c net: Have netpoll bring-up DSA management interface 2020-11-24 13:02:55 +01:00
netprio_cgroup.c netprio_cgroup: Fix unlimited memory leak of v2 cgroups 2020-05-20 08:15:39 +02:00
pktgen.c pktgen: fix misuse of BUG_ON() in pktgen_thread_worker() 2021-03-07 11:25:57 +01:00
ptp_classifier.c
request_sock.c
rtnetlink.c net: rtnl_configure_link: fix dev flags changes arg to __dev_notify_flags 2020-06-03 08:16:47 +02:00
scm.c
secure_seq.c
skbuff.c net: fix up truesize of cloned skb in skb_prepare_for_shift() 2021-03-07 11:25:56 +01:00
sock.c net/compat: Add missing sock updates for SCM_RIGHTS 2020-08-21 11:02:08 +02:00
sock_diag.c net: core: fix module type in sock_diag_bind 2018-01-17 09:38:53 +01:00
sock_reuseport.c soreuseport: fix mem leak in reuseport_add_sock() 2018-02-13 12:35:57 +01:00
stream.c tcp: make sure EPOLLOUT wont be missed 2019-09-06 10:19:45 +02:00
sysctl_net_core.c net, sysctl: Fix compiler warning when only cBPF is present 2020-01-04 13:41:04 +01:00
timestamping.c
tso.c
utils.c net: Fix skb->csum update in inet_proto_csum_replace16(). 2020-02-05 13:05:56 +00:00