Re: [patch net-next] net: sched: cls_matchall: fix null pointer dereference

2017-05-22 Thread David Miller
From: Jiri Pirko Date: Mon, 22 May 2017 16:46:13 +0200 > From: Jiri Pirko > > 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

[patch net-next] net: sched: cls_matchall: fix null pointer dereference

2017-05-22 Thread Jiri Pirko
From: Jiri Pirko 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