Re: Panic on today's -current

From: Beecher Rintoul <akbeech_at_northwindcom.dyndns.org>
Date: Thu, 24 Jun 2004 12:44:01 -0800
On Thursday 24 June 2004 11:32 am, Giorgos Keramidas wrote:
> Index: sys/contrib/ipfilter/netinet/fil.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/contrib/ipfilter/netinet/fil.c,v
> retrieving revision 1.38
> diff -u -r1.38 fil.c
> --- sys/contrib/ipfilter/netinet/fil.c  21 Jun 2004 22:46:35
> -0000      1.38 +++ sys/contrib/ipfilter/netinet/fil.c  24 Jun 2004
> 19:17:33 -0000 _at__at_ -2155,9 +2155,6 _at__at_
>                 ip_natsync(ifp);
>                 ip_statesync(ifp);
>         }
> -#  if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
> -       IFNET_RUNLOCK();
> -#  endif
>         ip_natsync((struct ifnet *)-1);
>  #  if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
>         IFNET_RUNLOCK();

Getting the following trying to patch that file:

northwindcom# patch <kern_patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|RCS file: /usr/src/sys/contrib/ipfilter/netinet/fil.c,v
|retrieving revision 1.38
|diff -u -r1.38 fil.c
|--- /usr/src/sys/contrib/ipfilter/netinet/fil.c  21 Jun 2004 22:46:35 
-0000      1.38
|+++ /usr/src/sys/contrib/ipfilter/netinet/fil.c  24 Jun 2004 19:17:33 -0000
--------------------------
File to patch: /usr/src/sys/contrib/ipfilter/netinet/fil.c
Patching file /usr/src/sys/contrib/ipfilter/netinet/fil.c using Plan A...
patch: **** malformed patch at line 8:                 ip_natsync(ifp);



Beech

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech_at_northwindcom.dyndns.org
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---------------------------------------------------------------------------------------
Received on Thu Jun 24 2004 - 18:44:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:58 UTC