]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-sched-init-failure-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:26:12 +0000 (15:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:26:12 +0000 (15:26 -0700)
commitd6c4332518c0aa9a5e594b7e964ff5e4e1570bae
tree4c79f47f8d4739f7ab9fd40492ee8b0132385910
parentd703b495c94c0cfb1ccc9455d8ffcc8ebd881c78
parent305db21c5626a3c35f8b1f02ac994982d931f451
Merge branch 'net-sched-init-failure-fixes'

Nikolay Aleksandrov says:

====================
net/sched: init failure fixes

I went over all qdiscs' init, destroy and reset callbacks and found the
issues fixed in each patch. Mostly they are null pointer dereferences due
to uninitialized timer (qdisc watchdog) or double frees due to ->destroy
cleaning up a second time. There's more information in each patch.
I've tested these by either sending wrong attributes from user-spaces, no
attributes or by simulating memory alloc failure where applicable. Also
tried all of the qdiscs as a default qdisc.

Most of these bugs were present before commit 2a1eb255db0f, I've tried to
include proper fixes tags in each patch.

I haven't included individual patch acks in the set, I'd appreciate it if
you take another look and resend them.
====================

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>