]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow to disable sends or receives on a socket using shutdown(2) by
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 2 Apr 2011 09:22:06 +0000 (09:22 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 2 Apr 2011 09:22:06 +0000 (09:22 +0000)
commit3a0b818f596a9016e8fa2437c80653baa8f12ead
tree21e2a55eb33536e616399c9126525b98548a01de
parent2a49afacd10a69df7387866694b007940e01d33b
Allow to disable sends or receives on a socket using shutdown(2) by
interpreting NULL 'data' argument passed to proto_common_send() or
proto_common_recv() as a will to do so.

MFC after: 1 month
sbin/hastd/proto_common.c