diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-01-05 11:07:25 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-06 15:56:44 -0800 |
commit | 94bcfdbff0c210b17b27615f4952cc6ece7d5f5f (patch) | |
tree | 4a9132c57fd138d48e8190fb55ae38a3f413b964 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625 (diff) |
net: bareudp: add missing error handling for bareudp_link_config()
.dellink does not get called after .newlink fails,
bareudp_newlink() must undo what bareudp_configure()
has done if bareudp_link_config() fails.
v2: call bareudp_dellink(), like bareudp_dev_create() does
Fixes: 571912c69f0e ("net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS, IP, NSH etc.")
Link: https://lore.kernel.org/r/20210105190725.1736246-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions