Date: Mon, 3 Jun 1996 21:04:05 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: ormonde@trem.cnt.org.br (Rodrigo Ormonde) Cc: freebsd-hackers@freebsd.org Subject: Re: NULL interface field in ip_fw_chk Message-ID: <199606040404.VAA06798@bubba.whistle.com> In-Reply-To: <9605221807.AA08687@trem.cnt.org.br> from "Rodrigo Ormonde" at May 22, 96 03:07:11 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> int ip_fw_chk(mbuf *m, struct ip *ip, struct ifnet *rif, ... > > Looking into the code of ip_fw_chk, I realise that sometimes this function > is called with rif = NULL. > > My question is: does anybody knows why and under what circunstances the > ip_fw_chk is called with a NULL pointer in the interface field ? (the > ip_fw_chk function is called only by ip_input.c) Perhaps when a packet didn't come in on any interface, i.e., it was generated locally (for example, a kernel generated ICMP). -Archie ___________________________________________________________________________ Archie L. Cobbs, archie@whistle.com * Whistle Communications Corporation
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606040404.VAA06798>