diff options
author | 2020-01-03 09:20:40 +0000 | |
---|---|---|
committer | 2020-01-03 12:25:50 -0800 | |
commit | 1f623431100138ffaaae36e122f2727c13de640a (patch) | |
tree | f6ed76a419cfe126320bebaaccf7bd6e6eafb908 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: remove the check argument from __skb_gro_checksum_convert (diff) | |
download | linux-dev-1f623431100138ffaaae36e122f2727c13de640a.tar.xz linux-dev-1f623431100138ffaaae36e122f2727c13de640a.zip |
net: Remove redundant BUG_ON() check in phonet_pernet
Passing NULL to phonet_pernet causes a crash via BUG_ON.
Dereferencing net in net_generic() also has the same effect.
This patch removes the redundant BUG_ON check on the same parameter.
Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions