Re: bnxt panic

2022-03-19 Thread Hrvoje Popovski
On 18.3.2022. 18:59, Alexander Bluhm wrote: > On Fri, Mar 18, 2022 at 11:21:15AM +0100, Hrvoje Popovski wrote: >> On 17.3.2022. 21:31, Alexander Bluhm wrote: >>> I don't have the device and don't know the code. But other drivers >>> don't process rx and tx interrupts when the interface is not

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread Claudio Jeker
On Sat, Mar 19, 2022 at 10:57:18PM +1000, David Gwynne wrote: > On Sat, Mar 19, 2022 at 12:53:54PM +0100, Claudio Jeker wrote: > > On Sat, Mar 19, 2022 at 12:27:43PM +0100, Claudio Jeker wrote: > > > On Sat, Mar 19, 2022 at 10:51:13AM +, Stuart Henderson wrote: > > > > On 2022/03/19 19:14,

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread David Gwynne
On Sat, Mar 19, 2022 at 12:53:54PM +0100, Claudio Jeker wrote: > On Sat, Mar 19, 2022 at 12:27:43PM +0100, Claudio Jeker wrote: > > On Sat, Mar 19, 2022 at 10:51:13AM +, Stuart Henderson wrote: > > > On 2022/03/19 19:14, David Gwynne wrote: > > > > On Thu, Mar 17, 2022 at 12:05:16PM -0600,

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread Claudio Jeker
On Sat, Mar 19, 2022 at 12:27:43PM +0100, Claudio Jeker wrote: > On Sat, Mar 19, 2022 at 10:51:13AM +, Stuart Henderson wrote: > > On 2022/03/19 19:14, David Gwynne wrote: > > > On Thu, Mar 17, 2022 at 12:05:16PM -0600, Theo de Raadt wrote: > > > > This should not be done in applications. The

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread Claudio Jeker
On Sat, Mar 19, 2022 at 10:51:13AM +, Stuart Henderson wrote: > On 2022/03/19 19:14, David Gwynne wrote: > > On Thu, Mar 17, 2022 at 12:05:16PM -0600, Theo de Raadt wrote: > > > This should not be done in applications. The kernel must do it. It means > > > the current kernel code is worng. >

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread Stuart Henderson
On 2022/03/19 19:14, David Gwynne wrote: > On Thu, Mar 17, 2022 at 12:05:16PM -0600, Theo de Raadt wrote: > > This should not be done in applications. The kernel must do it. It means > > the current kernel code is worng. > > i think this is the right place for raw ipv4 sockets like what >

Re: route sourceaddr and ping/traceroute

2022-03-19 Thread David Gwynne
On Thu, Mar 17, 2022 at 12:05:16PM -0600, Theo de Raadt wrote: > This should not be done in applications. The kernel must do it. It means > the current kernel code is worng. i think this is the right place for raw ipv4 sockets like what ping/traceroute uses. ipv6 looks like it already does the