Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Monday, March 31, 2008 - 3:08 am

From: Ingo Molnar <mingo@elte.hu>
Date: Mon, 31 Mar 2008 11:48:23 +0200


I don't think it's safe.

Every packet you receive can result in a sent packet, which
in turn can result in a full packet receive path being
taken, and yet again another sent packet.

And so on and so forth.

Some cases like this would be stack bugs, but wouldn't
you like that bug to be a very busy cpu instead of a
crash from overrunning the current stack?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC,PATCH] loopback: calls netif_receive_skb() instea ..., David Miller, (Mon Mar 31, 3:08 am)
Re: poor network loopback performance and scalability, David Miller, (Sun Apr 20, 8:38 pm)