Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/netinet




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/netinet

From: Manuel Bouyer <bouyer%netbsd.org@localhost>

Date: Wed, 21 Apr 2010 20:40:17 +0000


Module Name:    src
Committed By:   bouyer
Date:           Wed Apr 21 20:40:16 UTC 2010

Modified Files:
        src/sys/netinet: tcp_input.c

Log Message:
syn_cache_put(): defer all pool_put() to the callout. Reschedule
the callout if needed so frees are not delayed too much.
syn_cache_timer(): we can't call syn_cache_put() here any more,
so move code deleted from syn_cache_put() here.

Avoid KASSERT() in kern_timeout.c because pool_put() is called from
ipintr context, as reported in
http://mail-index.netbsd.org/tech-kern/2010/03/19/msg007762.html
Thanks to Andrew Doran and Mindaugas Rasiukevicius for help and review.


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/sys/netinet/tcp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.





Prev by Date: CVS commit: src/sys/rump/librump/rumpkern

Next by Date: CVS commit: src/sys/dev/pci

Previous by Thread: CVS commit: src/sys/rump/librump/rumpkern

Next by Thread: CVS commit: src/sys/dev/pci

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index