Page MenuHomeFreeBSD

D7617.diff
No OneTemporary

D7617.diff

Index: head/sys/dev/bhnd/bhndb/bhndb.c
===================================================================
--- head/sys/dev/bhnd/bhndb/bhndb.c
+++ head/sys/dev/bhnd/bhndb/bhndb.c
@@ -1728,8 +1728,9 @@
/* Adjust the window if the I/O request won't fit in the current
* target range. */
- if (addr < dwa->target ||
- (dwa->target + dwa->win->win_size) - addr < size)
+ if (addr < dwa->target ||
+ addr > dwa->target + dwa->win->win_size ||
+ (dwa->target + dwa->win->win_size) - addr < size)
{
error = bhndb_dw_set_addr(sc->dev, sc->bus_res, dwa, addr,
size);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 1:17 AM (15 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40107353
Default Alt Text
D7617.diff (589 B)

Event Timeline