netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netdev@vger.kernel.org
Subject: Fw: [Bug 94501] New: Kernel crash while deleting a nftables "table"
Date: Sun, 8 Mar 2015 09:30:40 -0700	[thread overview]
Message-ID: <20150308093040.0c3f7c41@urahara> (raw)



Begin forwarded message:

Date: Sun, 8 Mar 2015 12:45:39 +0000
From: "bugzilla-daemon@bugzilla.kernel.org" <bugzilla-daemon@bugzilla.kernel.org>
To: "shemminger@linux-foundation.org" <shemminger@linux-foundation.org>
Subject: [Bug 94501] New: Kernel crash while deleting a nftables "table"


https://bugzilla.kernel.org/show_bug.cgi?id=94501

            Bug ID: 94501
           Summary: Kernel crash while deleting a nftables "table"
           Product: Networking
           Version: 2.5
    Kernel Version: 4.0.0-rc2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
          Assignee: shemminger@linux-foundation.org
          Reporter: jp.pozzi@izzop.net
        Regression: No

Created attachment 169681
  --> https://bugzilla.kernel.org/attachment.cgi?id=169681&action=edit
Table after execution script

Hello,

I am testing "nftables" and get a kernel crash while deleting a table.
The first problem arose when I try to "flush" a table before executing a script
file :
ENTREE.dat:5:1-2: Error: Could not process rule: File exists
table ip NIV_UN {
^^
ENTREE.dat:5:1-2: Error: Could not process rule: File exists
table ip NIV_UN {
^^
The script begins with :
flush table NIV_UN;

table ip NIV_UN {
set PORT_TCP_IN { 
        type inet_service
include "xxxxx.set"
    }
............

If I "manually" flush the table with "nft flush table NIV_UN" all is good and
the content of the table is flushed, but remains in a state where no modify is
possible.
The command "nft flush table NIV_UN" works and the result seems OK (cf FILE 1),
but if I try to re-execute the script I get the same error.
If I try to delete the table with "nft delete table NIV_UN" I get a kernel
crash which is not visible in the logs, the only way I found is to take a photo
of the screen ...

Files attached : NFTLIST.txt : right after execution
                 NFTLIST_FLUSH.txt : after execution a "flush"
                 screen_img.jpg

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2015-03-08 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150308093040.0c3f7c41@urahara \
    --to=stephen@networkplumber.org \
    --cc=netdev@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).