]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC SVN rev 181093
authoremax <emax@FreeBSD.org>
Fri, 8 Aug 2008 23:19:48 +0000 (23:19 +0000)
committeremax <emax@FreeBSD.org>
Fri, 8 Aug 2008 23:19:48 +0000 (23:19 +0000)
commit450ff2e17df96ef89fb70e15b02d4387dcfe7fbe
treeab5cacd9f5f8f4d1ef1a573767392bf34fd57bd5
parent2d2fc6b9d616cc22768612a80c48c741320e5b1b
MFC SVN rev 181093

Implement ratelimiting for debug messages. For now, allow at most
one message per second. In the future might add a sysctl knob for
each socket family to fine tune this.
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c