commit | 627cc4add53c0470bfd118002669205d222d3a54 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Aug 24 15:46:25 2016 +0900 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 24 21:57:20 2016 -0700 |
tree | d7f84ddce15c2fc86cca1289cf2c8f1ed98c3db7 | |
parent | 9d490b4ee4d7d495a4f4908ea998d2a7355e0807 [diff] |
net: diag: slightly refactor the inet_diag_bc_audit error checks. This simplifies the code a bit and also allows inet_diag_bc_audit to send to userspace an error that isn't EINVAL. Signed-off-by: Lorenzo Colitti <lorenzo@google.com> Acked-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>