NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38456



The following reply was made to PR kern/38456; it has been noted by GNATS.

From: Wolfgang Solfrank <Wolfgang%Solfrank.net@localhost>
To: Darren Reed <darrenr%NetBSD.org@localhost>
Cc: ws%tools.de@localhost, gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/38456
Date: Tue, 02 Dec 2008 01:19:49 +0100

 This is a multi-part message in MIME format.
 --------------010405000900090409060302
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hello,
 
 I'm mostly happy with your changes.  However, I think there are some glitches:
 
 1. ip_compat.h: There is a #ifdef _KERNEL in line 797 and another one in
 line 800.  The latter is unnecessary clutter.
 
 2. ip_fil_netbsd.c: There are missing SPL_X(s) calls in ipfattach (if
 pfil_head_get fails) and ipfdetach (if pfil_remove_hook fails).
 
 3 ip_sync.c: The macro WAKEUP takes two arguments.
 
 Find a patch below.
 
 Ciao,
 Wolfgang
 -- 
 Wolfgang%Solfrank.net@localhost                                Wolfgang 
Solfrank
 
 --------------010405000900090409060302
 Content-Type: text/plain;
  name="patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: inline;
  filename="patch"
 
 SW5kZXg6IGlwX2NvbXBhdC5oCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3Ny
 Yy9zeXMvZGlzdC9pcGYvbmV0aW5ldC9pcF9jb21wYXQuaCx2CnJldHJpZXZpbmcgcmV2aXNp
 b24gMS4yMwpkaWZmIC11IC1yMS4yMyBpcF9jb21wYXQuaAotLS0gaXBfY29tcGF0LmgJNiBO
 b3YgMjAwOCAwOTo1MTo1NyAtMDAwMAkxLjIzCisrKyBpcF9jb21wYXQuaAkyIERlYyAyMDA4
 IDAwOjE3OjQ3IC0wMDAwCkBAIC03OTcsNyArNzk3LD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wX3N5bmMuYwkyIERlYyAyMDA4IDAwOjE3OjQ4IC0wMDAwCkBAIC05MjAsNyArOTIw
 LDcgQEAKICMgZWxzZQogCU1VVEVYX0VYSVQoJmlwc2xfbXV0ZXgpOwogIyAgaWZkZWYgX0tF
 Uk5FTAotCVdBS0VVUCgmc2xfdGFpbCk7CisJV0FLRVVQKCZzbF90YWlsLCAwKTsKIAlQT0xM
 V0FLRVVQKElQTF9MT0dTWU5DKTsKICMgIGVuZGlmCiAjIGVuZGlmCkBAIC0xMDEwLDcgKzEw
 MTAsNyBAQAogIyBlbHNlCiAJTVVURVhfRVhJVCgmaXBzbF9tdXRleCk7CiAjICBpZmRlZiBf
 S0VSTkVMCi0JV0FLRVVQKCZzbF90YWlsKTsKKwlXQUtFVVAoJnNsX3RhaWwsIDApOwogCVBP
 TExXQUtFVVAoSVBMX0xPR1NZTkMpOwogIyAgZW5kaWYKICMgZW5kaWYK
 --------------010405000900090409060302--
 


Home | Main Index | Thread Index | Old Index