git: route: Add support for route(4) message filtering.

Roy Marples roy at crater.dragonflybsd.org
Fri Aug 16 08:41:19 PDT 2019


commit 8aeffa9f3b32ec4061b6573b6fca75507812a5f1
Author: Roy Marples <roy at marples.name>
Date:   Fri Aug 16 16:39:35 2019 +0100

    route: Add support for route(4) message filtering.
    
    This saves waking up listeners for messages they have no interest in.
    It also helps to reduce the chance of a receive buffer overflow.
    
    Taken-from: OpenBSD
    Reviewd-by: sephe

Summary of changes:
 share/man/man4/route.4 | 21 ++++++++++-
 sys/net/raw_cb.h       |  2 ++
 sys/net/raw_usrreq.c   |  3 ++
 sys/net/route.h        |  6 ++++
 sys/net/rtsock.c       | 96 ++++++++++++++++++++++++++++++++++++++++++++++++--
 5 files changed, 124 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8aeffa9f3b32ec4061b6573b6fca75507812a5f1


-- 
DragonFly BSD source repository


More information about the Commits mailing list