The patch titled
netdev: remove netif_running() check from myri10ge_poll()
has been added to the -mm tree. Its filename is
netdev-remove-netif_running-check-from-myri10ge_poll.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: netdev: remove netif_running() check from myri10ge_poll()
From: Andrew Gallatin <[EMAIL PROTECTED]>
Remove the bogus netif_running() check from myri10ge_poll().
This eliminates any chance that myri10ge_poll() can trigger an oops by
calling netif_rx_complete() and returning with work_done == budget.
Signed-off-by: Andrew Gallatin <[EMAIL PROTECTED]>
Acked-by: David S. Miller <[EMAIL PROTECTED]>
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/net/myri10ge/myri10ge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN
drivers/net/myri10ge/myri10ge.c~netdev-remove-netif_running-check-from-myri10ge_poll
drivers/net/myri10ge/myri10ge.c
---
a/drivers/net/myri10ge/myri10ge.c~netdev-remove-netif_running-check-from-myri10ge_poll
+++ a/drivers/net/myri10ge/myri10ge.c
@@ -1239,7 +1239,7 @@ static int myri10ge_poll(struct napi_str
/* process as many rx events as NAPI will allow */
work_done = myri10ge_clean_rx_done(mgp, budget);
- if (work_done < budget || !netif_running(netdev)) {
+ if (work_done < budget) {
netif_rx_complete(netdev, napi);
put_be32(htonl(3), mgp->irq_claim);
}
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-net.patch
netdev-remove-netif_running-check-from-myri10ge_poll.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html