No description
Find a file
Vlad Buslov a5654820bb net: sched: protect chain template accesses with block lock
When cls API is called without protection of rtnl lock, parallel
modification of chain is possible, which means that chain template can be
changed concurrently in certain circumstances. For example, when chain is
'deleted' by new user-space chain API, the chain might continue to be used
if it is referenced by actions, and can be 're-created' again by user. In
such case same chain structure is reused and its template is changed. To
protect from described scenario, cache chain template while holding block
lock. Introduce standalone tc_chain_notify_delete() function that works
with cached template values, instead of chains themselves.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-12 13:41:32 -05:00
arch
block
certs
crypto
Documentation dt-binding: ptp_qoriq: add little-endian support 2019-02-12 12:58:48 -05:00
drivers isdn_v110: mark expected switch fall-through 2019-02-12 13:17:41 -05:00
firmware
fs
include net: sched: traverse chains in block with tcf_get_next_chain() 2019-02-12 13:41:32 -05:00
init
ipc
kernel
lib lib: objagg: add root count to stats 2019-02-08 15:02:49 -08:00
LICENSES
mm
net net: sched: protect chain template accesses with block lock 2019-02-12 13:41:32 -05:00
samples
scripts
security
sound
tools selftests: mlxsw: avoid double sourcing of lib.sh 2019-02-12 12:03:29 -05:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: add enetc_ptp driver into QorIQ PTP list 2019-02-12 12:58:48 -05:00
Makefile
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.

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.