Module Name: src Committed By: plunky Date: Tue Feb 8 21:59:50 UTC 2011
Modified Files: src/usr.sbin/btpand: client.c server.c Log Message: the default socket rcvbuf for L2CAP is only 4Kbytes which is only 2 and a bit ethernet packets. Check and increase SO_RCVBUF on startup so that we have buffers for 10 complete packets, should solve a reported problem with overruns at higher connection speeds (our L2CAP does not have any flow control). (the default can still be adjusted upwards using sysctl) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/btpand/client.c cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/btpand/server.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.