From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dpdk stable <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] kni: fix crash for KNI interface remove
Date: Mon, 26 Sep 2016 16:54:59 +0800 [thread overview]
Message-ID: <20160926085459.GB20278@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <20160926083407.GA20278@yliu-dev.sh.intel.com>
On Mon, Sep 26, 2016 at 04:34:07PM +0800, Yuanhan Liu wrote:
> On Fri, Sep 09, 2016 at 03:46:01PM +0200, Thomas Monjalon wrote:
> > 2016-08-31 14:06, Ferruh Yigit:
> > > Removing KNI interface that has no PCI driver for ethtool support cause
> > > kernel crash.
> > >
> > > Fixes: 109febfe58f9 ("net/igb: move PCI device IDs from EAL")
> > > Fixes: 221fba3b987c ("net/ixgbe: move PCI device IDs from EAL")
> > >
> > > Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> >
> > Applied, thanks
>
> FYI, this patch has been applied to stable branch v16.07.
>
> It hasn't been pushed to http://dpdk.org/browse/dpdk-stable/ yet.
> It will be pushed if I get no objections in around TWO days. So
> please shutout if you have objections.
Nah, firstly, it has conflicts. Secondly, it breaks the build even
if I fixed the conflicts.
lib/librte_eal/linuxapp/kni/kni_misc.c: In function ‘kni_dev_remove’:
lib/librte_eal/linuxapp/kni/kni_misc.c:370:20: error: ‘ixgbe_pci_tbl’ undeclared (first use in this function)
if (pci_match_id(ixgbe_pci_tbl, dev->pci_dev))
^
lib/librte_eal/linuxapp/kni/kni_misc.c:370:20: note: each undeclared identifier is reported only once for each function it appears in
lib/librte_eal/linuxapp/kni/kni_misc.c:372:25: error: ‘igb_pci_tbl’ undeclared (first use in this function)
else if (pci_match_id(igb_pci_tbl, dev->pci_dev))
^
make[10]: *** [lib/librte_eal/linuxapp/kni/kni_misc.o] Error 1
make[9]: *** [_module_lib/librte_eal/linuxapp/kni] Error 2
make[8]: *** [sub-make] Error 2
make[7]: *** [rte_kni.ko] Error 2
make[6]: *** [kni] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2
Ferruh, I may need your help here. If you think this patch is a good
candidate for v16.07 stable release, would you mind to back port it?
BTW, I saw quite few KNI fixes have already been applied to master. Would
you help to check which are good for applying them to stable release and
which are not?
2016-09-22 15:48 Ferruh Yigit kni: fix large stack frame size
2016-08-25 12:30 Ferruh Yigit kni: remove continuous memory restriction
2016-09-11 17:59 Yangchao Zhou kni: fix error rollback kernel crash
2016-09-08 19:32 Ferruh Yigit kni: fix build with kernel 4.8
2016-09-16 17:09 Ferruh Yigit kni: fix build with kernel < 3.0
2016-09-16 22:01 Pablo de Lara kni: support RHEL 7.3
2016-09-15 13:06 Ferruh Yigit kni: fix debug build
2016-09-02 18:23 Vincent Guo kni: fix module init/exit
2016-08-31 15:49 Ferruh Yigit kni: support RHEL 6.8
2016-08-31 14:06 Ferruh Yigit kni: fix crash when removing interface
So far, I will drop this one temporarily.
--yliu
next prev parent reply other threads:[~2016-09-26 8:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1472648786-32404-1-git-send-email-ferruh.yigit@intel.com>
[not found] ` <6154238.UfqKImgbgb@xps13>
2016-09-26 8:34 ` Yuanhan Liu
2016-09-26 8:54 ` Yuanhan Liu [this message]
2016-09-26 9:21 ` Ferruh Yigit
2016-09-26 12:15 ` Yuanhan Liu
2016-09-26 12:26 ` Ferruh Yigit
2016-09-26 12:56 ` Yuanhan Liu
2016-09-26 13:00 ` Ferruh Yigit
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=20160926085459.GB20278@yliu-dev.sh.intel.com \
--to=yuanhan.liu@linux.intel.com \
--cc=ferruh.yigit@intel.com \
--cc=stable@dpdk.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).