diff options
author | 2021-07-26 12:40:10 -0500 | |
---|---|---|
committer | 2021-07-26 22:38:11 +0100 | |
commit | 5bc5588466a1f8b48fb04f56c46474a30508a3d6 (patch) | |
tree | 7322b4bc3dcab81b14a86b0a56bc8503b1449d13 /net/ipv4/ip_output.c | |
parent | net: ipa: kill the remaining conditional validation code (diff) | |
download | wireguard-linux-5bc5588466a1f8b48fb04f56c46474a30508a3d6.tar.xz wireguard-linux-5bc5588466a1f8b48fb04f56c46474a30508a3d6.zip |
net: ipa: use WARN_ON() rather than assertions
I've added commented assertions to record certain properties that
can be assumed to hold in certain places in the IPA code. Convert
these into real WARN_ON() calls so the assertions are actually
checked, using the standard WARN_ON() mechanism.
Where errors can be returned, return an error if a warning is
triggered.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions