netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why is nf_conntrack_htable_size exported?
@ 2010-01-30  4:32 Jon Masters
  2010-01-30  4:38 ` Jon Masters
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Masters @ 2010-01-30  4:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: netfilter-devel

Folks,

Can someone tell me why nf_conntrack_htable_size is both an exported
symbol, and available in sysfs to be changed? Doing so will surely cause
the system to fall over immediately since this is value is used within
the hashing code in conntrack. It is /supposed/ to only be changed under
a lock, or at init time when there is not a need to lock it.

Perhaps we can get this unexported asap and the value replaced with a
function that returns the current value instead? Same goes for the
module parameter that can freely be messed around with.

Thanks,

Jon.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-30  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-30  4:32 why is nf_conntrack_htable_size exported? Jon Masters
2010-01-30  4:38 ` Jon Masters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).