diff options
author | fenner <fenner@FreeBSD.org> | 1998-11-04 20:22:11 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1998-11-04 20:22:11 +0000 |
commit | 0b1ffe8fd67afc7707670d6603f72f76add183d0 (patch) | |
tree | dc8b4e8a28caa3770b8bf78b0de5698abf7f736c /sys/dev/iicbus | |
parent | c2c9d2577f349b25262f9c3bfca864d45218717d (diff) | |
download | FreeBSD-src-0b1ffe8fd67afc7707670d6603f72f76add183d0.zip FreeBSD-src-0b1ffe8fd67afc7707670d6603f72f76add183d0.tar.gz |
Fix sbcheck() to check all packets on socket buffer.
Also fix data types and printf formats while I'm here.
PR: misc/8494
Panic instead of looping forever in sbflush(). If sb_mbcnt counts
more mbufs than sb_cc counts bytes, the original code can turn into an
infinite loop of removing 0 bytes from the socket buffer until it's empty.
Diffstat (limited to 'sys/dev/iicbus')
0 files changed, 0 insertions, 0 deletions