DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: tcp/syncache: Simplify syncache_add() interface
commit b09567cc243f75bb0372bbcb5eab8fbd786f5152
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Fri Mar 16 14:56:20 2012 +0800
tcp/syncache: Simplify syncache_add() interface
Since the passed in 'sop' are always NULL upon returning, we do not need
to pass in "struct socket **"; just pass in the listen socket, i.e.
struct socket *.
Nuke the code follows the syncache_add(), which acts upon non-NULL 'sop'
returns from syncache_add(). These codes are actually never executed.
Summary of changes:
sys/netinet/tcp_input.c | 41 ++---------------------------------------
sys/netinet/tcp_syncache.c | 6 +-----
sys/netinet/tcp_var.h | 2 +-
3 files changed, 4 insertions(+), 45 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b09567cc243f75bb0372bbcb5eab8fbd786f5152
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]