Files
linux/net/netfilter/ipset
Vishwanath Pai 40b446a1d8 netfilter: ipset: Null pointer exception in ipset list:set
If we use before/after to add an element to an empty list it will cause
a kernel panic.

$> cat crash.restore
create a hash:ip
create b hash:ip
create test list:set timeout 5 size 4
add test b before a

$> ipset -R < crash.restore

Executing the above will crash the kernel.

Signed-off-by: Vishwanath Pai <[email protected]>
Reviewed-by: Josh Hunt <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
2017-02-19 19:08:47 +01:00
..