aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-07-26 12:40:10 -0500
committerDavid S. Miller <davem@davemloft.net>2021-07-26 22:38:11 +0100
commit5bc5588466a1f8b48fb04f56c46474a30508a3d6 (patch)
tree7322b4bc3dcab81b14a86b0a56bc8503b1449d13 /net/ipv4/ip_output.c
parentnet: ipa: kill the remaining conditional validation code (diff)
downloadwireguard-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