Skip to content
Commit f4f5748b authored by Aditya Pakki's avatar Aditya Pakki Committed by Jozsef Kadlecsik
Browse files

netfilter: ipset: fix a missing check of nla_parse



When nla_parse fails, we should not use the results (the first
argument). The fix checks if it fails, and if so, returns its error code
upstream.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
parent f0cb8390
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment