Discussion:
ip_flow.c ipf struct member ipf_start
(too old to reply)
Liam J. Foy
2012-01-17 17:15:02 UTC
Permalink
hi,

i appreciate this is only a minor nit. however...

ip_flow.c contains the struct ipf which in turn contains a member
called ipf_start. this member is never used (only assigned, never
read) and I can't see a time it ever was. i was going to remove it but
another developer pointed out it might have been used for debugging
but no one knows.

i propose to remove it completely or #ifdef the member.

any comments?

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2012-01-17 17:49:38 UTC
Permalink
Post by Liam J. Foy
hi,
i appreciate this is only a minor nit. however...
ip_flow.c contains the struct ipf which in turn contains a member
called ipf_start. this member is never used (only assigned, never
read) and I can't see a time it ever was. i was going to remove it but
another developer pointed out it might have been used for debugging
but no one knows.
i propose to remove it completely or #ifdef the member.
I think that if nobody chimes in soon with a use for it, you should
delete it.

Please, whatever you do, don't #ifdef it!

Dave
--
David Young
***@pobox.com Urbana, IL (217) 721-9981

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bernd Ernesti
2012-01-19 19:12:19 UTC
Permalink
Post by Liam J. Foy
hi,
i appreciate this is only a minor nit. however...
ip_flow.c contains the struct ipf which in turn contains a member
called ipf_start. this member is never used (only assigned, never
read) and I can't see a time it ever was. i was going to remove it but
another developer pointed out it might have been used for debugging
but no one knows.
i propose to remove it completely or #ifdef the member.
any comments?
Where is the issue with the member and what is FreeBSD using?

Bernd



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Liam J. Foy
2012-01-19 21:26:33 UTC
Permalink
Post by Bernd Ernesti
Post by Liam J. Foy
hi,
i appreciate this is only a minor nit. however...
ip_flow.c contains the struct ipf which in turn contains a member
called ipf_start. this member is never used (only assigned, never
read) and I can't see a time it ever was. i was going to remove it but
another developer pointed out it might have been used for debugging
but no one knows.
i propose to remove it completely or #ifdef the member.
any comments?
Where is the issue with the member and what is FreeBSD using?
Bernd
Hi Bernd,

The issue was minor - it wasn't used.

FreeBSD now have another implementation entirely.

Regards,
--
Liam J. Foy

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...