git: socket: Allow root to pass large buffer to getsockopt.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jul 5 01:35:23 PDT 2017


commit d428eac98b47557f287007faf85cb3e162c5f9d1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Jul 5 08:27:36 2017 +0800

    socket: Allow root to pass large buffer to getsockopt.
    
    This fixes IP_FW_GET with large amount of states; e.g. 30K~60K states.

Summary of changes:
 sys/kern/uipc_syscalls.c | 19 +++++++++++++------
 sys/sys/socket.h         |  1 +
 2 files changed, 14 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d428eac98b47557f287007faf85cb3e162c5f9d1


-- 
DragonFly BSD source repository


More information about the Commits mailing list