diff options
| author | Cong Wang <[email protected]> | 2017-11-03 00:32:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-03 12:31:15 +0000 |
| commit | 8f918d3ff4a1283a1693afe2b4c8e1844674ca15 (patch) | |
| tree | 63b2a6ab926d369762e0b7e0bbfaa205a81f4471 /lib/dynamic_queue_limits.c | |
| parent | tcp: tcp_fragment() should not assume rtx skbs (diff) | |
| download | kernel-8f918d3ff4a1283a1693afe2b4c8e1844674ca15.tar.gz kernel-8f918d3ff4a1283a1693afe2b4c8e1844674ca15.zip | |
net_sched: check NULL in tcf_block_put()
Callers of tcf_block_put() could pass NULL so
we can't use block->q before checking if block is
NULL or not.
tcf_block_put_ext() callers are fine, it is always
non-NULL.
Fixes: 8c4083b30e56 ("net: sched: add block bind/unbind notif. and extended block_get/put")
Reported-by: Dave Taht <[email protected]>
Cc: Jiri Pirko <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions
