From mboxrd@z Thu Jan 1 00:00:00 1970 From: ISHIKAWA Mutsumi Subject: Re: [PATCH] Fix divide zero crash when xmit with no enabled port Date: Mon, 23 Jul 2012 09:49:31 +0900 Message-ID: <20120723004932.059AE10EED0@master.hanzubon.jp> References: <20120721203035.71B4DFFC4A@master.hanzubon.jp> <20120722135956.GA12129@minipsycho.orion> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: netdev@vger.kernel.org To: jpirko@redhat.com Return-path: Received: from hanzubin.st.wakwak.ne.jp ([61.115.118.67]:51233 "EHLO master.hanzubon.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752468Ab2GWAtd (ORCPT ); Sun, 22 Jul 2012 20:49:33 -0400 In-Reply-To: <20120722135956.GA12129@minipsycho.orion> Sender: netdev-owner@vger.kernel.org List-ID: >>>>> In <20120722135956.GA12129@minipsycho.orion> >>>>> Jiri Pirko wrote: >> Sat, Jul 21, 2012 at 10:30:35PM CEST, ishikawa@hanzubon.jp wrote: >> > >> >hash calculation in lb_transmit() cause divide zero crash when >> >xmit on teaming loadbalance mode with no team member port is enabled >> >(this situation means team->en_port_count = 0). Add check >> >team->en_port_count is not 0. >> >> What kernel are you see the issue one? >> I believe this is fixed in net-next already: Oops, sorry. I've see it on linus's linux-2.6 git tree only. -- ISHIKAWA Mutsumi , ,