[PATCH 2/7] Kill bogus memsets

Harald Welte laforge at netfilter.org
Mon Aug 1 22:20:22 CEST 2005


On Mon, Aug 01, 2005 at 07:04:57PM +0200, Pablo Neira wrote:
> nfattr_parse_attributes already set to zero the array of nfattr, so such 
> initialization isn't required.

I think you are referring to nfattr_parse[] ;)  And yes, you are
correct, we can kill those memset's.  I'll apply your patch (and push it
to davem).  Please include a "Signed-off-by:" Line with your future
patches, thanks!

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20050801/0e595508/attachment.bin


More information about the netfilter-devel mailing list