commit | 2d76b2f8b54abd16225cd80afca36ed43f113c41 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon May 22 16:46:13 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 22 14:54:16 2017 -0400 |
tree | 4bdb6eb967b730de091e58a5fd8635272216c146 | |
parent | 499fde662f1957e3cb8d192a94a099ebe19c714b [diff] |
net: sched: cls_matchall: fix null pointer dereference Since the head is guaranteed by the check above to be null, the call_rcu would explode. Remove the previously logically dead code that was made logically very much alive and kicking. Fixes: 985538eee06f ("net/sched: remove redundant null check on head") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>