projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05eda04
)
niu: BUG on inability to find page in rx page hashes.
author
David S. Miller
<davem@davemloft.net>
Thu, 8 Jul 2010 01:20:30 +0000
(18:20 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Jul 2010 01:20:30 +0000
(18:20 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/niu.c
b/drivers/net/niu.c
index 3d523cb7975ac8bb4e847bff1a0521513fc9860d..b9b950845b0e7d480a020f997f6707b89258f13e 100644
(file)
--- a/
drivers/net/niu.c
+++ b/
drivers/net/niu.c
@@
-3330,10
+3330,12
@@
static struct page *niu_find_rxpage(struct rx_ring_info *rp, u64 addr,
for (; (p = *pp) != NULL; pp = (struct page **) &p->mapping) {
if (p->index == addr) {
*link = pp;
-
break
;
+
goto found
;
}
}
+ BUG();
+found:
return p;
}