net_sched: Fix missing res info when create new tc_index filter
Hangbin Liu authored
[ Upstream commit 008369dc ]

Li Shuang reported the following warn:

[  733.484610] WARNING: CPU: 6 PID: 21123 at net/sched/sch_cbq.c:1418 cbq_destroy_class+0x5d/0x70 [sch_cbq]
[  733.495190] Modules linked in: sch_cbq cls_tcindex sch_dsmark rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat l
[  733.574155]  syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm igb ixgbe ahci libahci i2c_algo_bit libata i40e i2c_core dca mdio megaraid_sas dm_mirror dm_region_hash dm_log dm_mod
[  733.592500] CPU: 6 PID: 21123 Comm: tc Not tainted 4.18.0-rc8.latest+ #131
[  733.600169] Hardware name: Dell Inc. PowerEdge R730/0WCJNT, BIOS 2.1.5 04/11/2016
[  733.608518] RIP: 0010:cbq_destroy_class+0x5d/0x70 [sch_cbq]
[  733.614734] Code: e7 d9 d2 48 8b 7b 48 e8 61 05 da d2 48 8d bb f8 00 00 00 e8 75 ae d5 d2 48 39 eb 74 0a 48 89 df 5b 5d e9 16 6c 94 d2 5b...
01002eb0
Name Last commit Last update
Documentation kbuild: verify that $DEPMOD is installed
LICENSES LICENSES: Add Linux-OpenIB license text
arch x86/speculation/l1tf: Exempt zeroed PTEs from inversion
block Partially revert "block: fail op_is_write() requests to read-only partitions"
certs certs/blacklist: fix const confusion
crypto crypto: skcipher - fix crash flushing dcache in error path
drivers crypto: ccp - Fix command completion detection race
firmware kbuild: remove all dummy assignments to obj-
fs Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
include ioremap: Update pgtable free interfaces with addr
init init: rename and re-order boot_cpu_state_init()
ipc ipc/shm.c add ->pagesize function to shm_vm_ops
kernel cpu/hotplug: Non-SMP machines do not make use of booted_once
lib ioremap: Update pgtable free interfaces with addr
mm x86/speculation/l1tf: Limit swap file size to MAX_PA/2
net net_sched: Fix missing res info when create new tc_index filter
samples samples/bpf: xdp_redirect_cpu adjustment to reproduce teardown race easier
scripts kbuild: verify that $DEPMOD is installed
security Merge tag 'selinux-pr-20180629' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
sound ALSA: hda/realtek - Yet another Clevo P950 quirk entry
tools tools headers: Synchronise x86 cpufeatures.h for L1TF additions
usr kbuild: rename built-in.o to built-in.a
virt Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
.clang-format clang-format: add configuration file
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore Merge tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
.mailmap Merge branch 'asoc-4.17' into asoc-4.18 for compress dependencies
COPYING COPYING: use the new text with points to the license files
CREDITS MAINTAINERS/CREDITS: Drop METAG ARCHITECTURE
Kbuild Merge tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Kconfig kconfig: add basic helper macros to scripts/Kconfig.include
MAINTAINERS MAINTAINERS: GDB: update e-mail address
Makefile Linux 4.18.3
README Docs: Added a pointer to the formatted docs to README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.