mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
fix hanging on invalid data... (This doesn't fix hanging due to broken
hardware)... Tested by: Ian Dowse, Adam K Kirchhoff and Vladimir Kushnir
This commit is contained in:
parent
08598d7067
commit
ee03a332df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164140
@ -629,9 +629,10 @@ pci_read_vpd(device_t pcib, pcicfgregs *cfg)
|
||||
M_WAITOK);
|
||||
state = 5;
|
||||
break;
|
||||
default: /* XXX - unimplemented */
|
||||
state = 4;
|
||||
break;
|
||||
default: /* Invalid data, abort */
|
||||
end = 1;
|
||||
cksumvalid = 0;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user