diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-19 15:03:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-20 00:45:11 +0200 |
commit | c1fd1182c43692022a7938d6b496fa21fcd49717 (patch) | |
tree | 013c6fd83c907892138ada1883e5bfa2f63ff515 /net/ipv4/ipip.c | |
parent | ipv4: streamline ipmr_new_tunnel (diff) | |
download | linux-c1fd1182c43692022a7938d6b496fa21fcd49717.tar.xz linux-c1fd1182c43692022a7938d6b496fa21fcd49717.zip |
ipv4: consolidate the VIFF_TUNNEL handling in ipmr_new_tunnel
Also move the dev_set_allmulti call and the error handling into the
ioctl helper. This allows reusing already looked up tunnel_dev pointer
and the set up argument structure for the deletion in the error handler.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions