[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081216.012247.267028680.davem@davemloft.net>
Date: Tue, 16 Dec 2008 01:22:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: alexander.huemer@....ac.at, linux-net@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: kernel panics with net_rx_action on kernels >2.6.26
From: Jarek Poplawski <jarkao2@...il.com>
Date: Mon, 15 Dec 2008 13:35:21 +0000
> Could you try this patch, please?
...
> @@ -1503,6 +1503,11 @@ static int __netdev_rx(struct net_device *dev, int *quota)
> desc->status = 0;
> np->rx_done = (np->rx_done + 1) % DONE_Q_SIZE;
> }
> +
> + if (*quota == 0) { /* out of rx quota */
> + retcode = 1;
> + goto out;
> + }
> writew(np->rx_done, np->base + CompletionQConsumerIdx);
>
> out:
Jarek this looks good and it looks to be tested as well.
Could you formally submit this?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists