Deleted Added
full compact
if_faith.c (131675) if_faith.c (132199)
1/* $KAME: if_faith.c,v 1.23 2001/12/17 13:55:29 sumikawa Exp $ */
2
3/*
4 * Copyright (c) 1982, 1986, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
1/* $KAME: if_faith.c,v 1.23 2001/12/17 13:55:29 sumikawa Exp $ */
2
3/*
4 * Copyright (c) 1982, 1986, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 14 unchanged lines hidden (view full) ---

23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * $FreeBSD: head/sys/net/if_faith.c 131675 2004-07-06 03:34:16Z bms $
31 * $FreeBSD: head/sys/net/if_faith.c 132199 2004-07-15 08:26:07Z phk $
32 */
33/*
34 * derived from
35 * @(#)if_loop.c 8.1 (Berkeley) 6/10/93
36 * Id: if_loop.c,v 1.22 1996/06/19 16:24:10 wollman Exp
37 */
38
39/*

--- 100 unchanged lines hidden (view full) ---

140 LIST_REMOVE(sc, sc_list);
141 mtx_unlock(&faith_mtx);
142 faith_destroy(sc);
143 mtx_lock(&faith_mtx);
144 }
145 mtx_unlock(&faith_mtx);
146 mtx_destroy(&faith_mtx);
147 break;
32 */
33/*
34 * derived from
35 * @(#)if_loop.c 8.1 (Berkeley) 6/10/93
36 * Id: if_loop.c,v 1.22 1996/06/19 16:24:10 wollman Exp
37 */
38
39/*

--- 100 unchanged lines hidden (view full) ---

140 LIST_REMOVE(sc, sc_list);
141 mtx_unlock(&faith_mtx);
142 faith_destroy(sc);
143 mtx_lock(&faith_mtx);
144 }
145 mtx_unlock(&faith_mtx);
146 mtx_destroy(&faith_mtx);
147 break;
148 default:
149 return EOPNOTSUPP;
148 }
149 return 0;
150}
151
152static moduledata_t faith_mod = {
153 "if_faith",
154 faithmodevent,
155 0

--- 217 unchanged lines hidden ---
150 }
151 return 0;
152}
153
154static moduledata_t faith_mod = {
155 "if_faith",
156 faithmodevent,
157 0

--- 217 unchanged lines hidden ---