]> granicus.if.org Git - ipset/commit
Fix detecting 'struct net' in 'struct tcf_ematch'
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 19 Oct 2015 18:20:19 +0000 (20:20 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 19 Oct 2015 18:20:19 +0000 (20:20 +0200)
commit4ed4c5f9f3f5cf007f9d2f168d310e83fb16408a
tree4b40dd72eb604a052f1e901293854f5da2b45781
parent095bd886850f3f0c6fa98f2a8d2433f9240b37f0
Fix detecting 'struct net' in 'struct tcf_ematch'

Nikolay Borisov reported that the detection is broken. Fix checking in the
right sctructure and wrap the call to dev_get_by_index_rcu() too.
configure.ac
kernel/net/sched/em_ipset.c