On Sat, 2014-12-20 at 15:50 +0800, Jia-Ju Bai wrote: > I have actually tested e1000 driver on the real hardware(Intel 82540EM > PCI > Gigabit Ethernet Controller), and find a potential bug: > The target file is drivers/net/ethernet/intel/e1000/e1000_main.c, > which is > used to build e1000.ko. > > (1) In the normal process, netif_napi_add is called in e1000_probe, > but > netif_napi_del is not called in e1000_remove. However, many other > ethernet > card drivers call them in pairs, even in the error handling paths, > such as > r8169 and igb. > > Meanwhile, I also write the patch to fix the bug. I have run the patch > on > the hardware, it can work normally and fix the above bug.
Was this a bug you actually saw? Or a theoretical bug based on code review? I do not mind adding this to my queue so that we can review and test the patch, although this will cause a fair amount of regression testing.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired