if_tap.c (95883) | if_tap.c (96122) |
---|---|
1/* 2 * Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * BASED ON: 27 * ------------------------------------------------------------------------- 28 * 29 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk> 30 * Nottingham University 1987. 31 */ 32 33/* | 1/* 2 * Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * BASED ON: 27 * ------------------------------------------------------------------------- 28 * 29 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk> 30 * Nottingham University 1987. 31 */ 32 33/* |
34 * $FreeBSD: head/sys/net/if_tap.c 95883 2002-05-01 20:44:46Z alfred $ | 34 * $FreeBSD: head/sys/net/if_tap.c 96122 2002-05-06 19:31:28Z alfred $ |
35 * $Id: if_tap.c,v 0.21 2000/07/23 21:46:02 max Exp $ 36 */ 37 38#include "opt_inet.h" 39 40#include <sys/param.h> 41#include <sys/conf.h> 42#include <sys/filedesc.h> --- 443 unchanged lines hidden (view full) --- 486 } 487 } 488 489 ifp->if_flags &= ~IFF_RUNNING; 490 } 491 splx(s); 492 } 493 | 35 * $Id: if_tap.c,v 0.21 2000/07/23 21:46:02 max Exp $ 36 */ 37 38#include "opt_inet.h" 39 40#include <sys/param.h> 41#include <sys/conf.h> 42#include <sys/filedesc.h> --- 443 unchanged lines hidden (view full) --- 486 } 487 } 488 489 ifp->if_flags &= ~IFF_RUNNING; 490 } 491 splx(s); 492 } 493 |
494 funsetown(tp->tap_sigio); | 494 funsetown(&tp->tap_sigio); |
495 selwakeup(&tp->tap_rsel); 496 497 tp->tap_flags &= ~TAP_OPEN; 498 tp->tap_pid = 0; 499 error = rman_release_resource(tp->tap_unit); 500 KASSERT((error == 0), 501 ("%s%d could not release unit", ifp->if_name, ifp->if_unit)); 502 tp->tap_unit = NULL; --- 444 unchanged lines hidden --- | 495 selwakeup(&tp->tap_rsel); 496 497 tp->tap_flags &= ~TAP_OPEN; 498 tp->tap_pid = 0; 499 error = rman_release_resource(tp->tap_unit); 500 KASSERT((error == 0), 501 ("%s%d could not release unit", ifp->if_name, ifp->if_unit)); 502 tp->tap_unit = NULL; --- 444 unchanged lines hidden --- |