zebra/rt_netlink.c | 198 ++++++++++++++---------------------------------------
1 files changed, 53 insertions(+), 145 deletions(-)
New commits:
commit 61514d88f16d567902b34281cb40379aa099bf8c
Author: Stephen Hemminger <[EMAIL PROTECTED]>
Date: Mon May 19 13:34:23 2008 -0700
only set non-blocking on netlink socket
There is no need to increase buffer size or set non-blocking on the
netlink command socket. This reduces the number of system calls per
transaction.
commit 685a4b330aff3edff8e1c72638cf8a65bf655da1
Author: Stephen Hemminger <[EMAIL PROTECTED]>
Date: Mon May 19 13:32:30 2008 -0700
remove unneeded privledge changes
Netlink recvmsg always succeeds, there are no permission checks in
the kernel on receive, only on send and bind. This reduces the number
of system calls and any potential security vulnerabilty in recvmsg().
http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=61514d88f16d567902b34281cb40379aa099bf8c
http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=685a4b330aff3edff8e1c72638cf8a65bf655da1
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn