Deleted Added
full compact
if_gif.c (193664) if_gif.c (193731)
1/* $FreeBSD: head/sys/net/if_gif.c 193664 2009-06-07 23:00:40Z hrs $ */
1/* $FreeBSD: head/sys/net/if_gif.c 193731 2009-06-08 17:15:40Z zec $ */
2/* $KAME: if_gif.c,v 1.87 2001/10/19 08:50:27 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

298#else
299 vnet_gif_iattach(NULL);
300#endif
301 if_clone_attach(&gif_cloner);
302
303 break;
304 case MOD_UNLOAD:
305 if_clone_detach(&gif_cloner);
2/* $KAME: if_gif.c,v 1.87 2001/10/19 08:50:27 itojun Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

298#else
299 vnet_gif_iattach(NULL);
300#endif
301 if_clone_attach(&gif_cloner);
302
303 break;
304 case MOD_UNLOAD:
305 if_clone_detach(&gif_cloner);
306 mtx_destroy(&gif_mtx);
307#ifdef INET6
308#ifndef VIMAGE
309 V_ip6_gif_hlim = 0; /* XXX -> vnet_gif_idetach() */
306#ifdef VIMAGE
307 vnet_mod_deregister(&vnet_gif_modinfo);
310#endif
308#endif
311#endif
309 mtx_destroy(&gif_mtx);
312 break;
313 default:
314 return EOPNOTSUPP;
315 }
316 return 0;
317}
318
319static moduledata_t gif_mod = {

--- 754 unchanged lines hidden ---
310 break;
311 default:
312 return EOPNOTSUPP;
313 }
314 return 0;
315}
316
317static moduledata_t gif_mod = {

--- 754 unchanged lines hidden ---