]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ipv4: Remove unneed BUG() function
authorZheng Yongjun <zhengyongjun3@huawei.com>
Tue, 8 Jun 2021 01:53:15 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 18:36:48 +0000 (11:36 -0700)
commit5ac6b198d7e312bd10ebe7d58c64690dc59cc49a
treef6f1d1c5087de22010022be088a8a2d8245fd0c7
parentd612c3f3fae221e7ea736d196581c2217304bbbc
net: ipv4: Remove unneed BUG() function

When 'nla_parse_nested_deprecated' failed, it's no need to
BUG() here, return -EINVAL is ok.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c
net/ipv6/addrconf.c