.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C)2003-2006 Helsinki University of Technology |
---|
3 | 4 | * Copyright (C)2003-2006 USAGI/WIDE Project |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License as published by |
---|
7 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
8 | | - * (at your option) any later version. |
---|
9 | | - * |
---|
10 | | - * This program is distributed in the hope that it will be useful, |
---|
11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | | - * GNU General Public License for more details. |
---|
14 | | - * |
---|
15 | | - * You should have received a copy of the GNU General Public License |
---|
16 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
17 | 5 | */ |
---|
18 | 6 | /* |
---|
19 | 7 | * Authors: |
---|
.. | .. |
---|
511 | 499 | { |
---|
512 | 500 | if (rawv6_mh_filter_unregister(mip6_mh_filter) < 0) |
---|
513 | 501 | pr_info("%s: can't remove rawv6 mh filter\n", __func__); |
---|
514 | | - if (xfrm_unregister_type(&mip6_rthdr_type, AF_INET6) < 0) |
---|
515 | | - pr_info("%s: can't remove xfrm type(rthdr)\n", __func__); |
---|
516 | | - if (xfrm_unregister_type(&mip6_destopt_type, AF_INET6) < 0) |
---|
517 | | - pr_info("%s: can't remove xfrm type(destopt)\n", __func__); |
---|
| 502 | + xfrm_unregister_type(&mip6_rthdr_type, AF_INET6); |
---|
| 503 | + xfrm_unregister_type(&mip6_destopt_type, AF_INET6); |
---|
518 | 504 | } |
---|
519 | 505 | |
---|
520 | 506 | module_init(mip6_init); |
---|