[Bug 777] Suspect bug in __do_replace()

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Jun 6 17:11:06 CEST 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=777

Phil Oester <netfilter at linuxace.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |netfilter at linuxace.com
         Resolution|                            |INVALID

--- Comment #2 from Phil Oester <netfilter at linuxace.com> 2013-06-06 17:11:05 CEST ---
Unclear why you believe this is a bug.  If the memory allocation in
xt_replace_table fails, it returns NULL.  At this point, the "goto put_module"
is correct - we need to cleanup after ourselves.  Your suggestion to "goto out"
is not beneficial.

Further, the backtrace you provided is because the memory system could not
allocate memory.  This has nothing whatsoever to do with netfilter, and making
changes in netfilter will not remove the backtrace.  You need to deal with the
OOM situation on your box.

Closing.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list