Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152441616
D46383.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
608 B
Referenced Files
None
Subscribers
None
D46383.diff
View Options
diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -595,7 +595,7 @@
static void
tcp_lro_flush_active(struct lro_ctrl *lc)
{
- struct lro_entry *le;
+ struct lro_entry *le, *le_tmp;
/*
* Walk through the list of le entries, and
@@ -607,7 +607,7 @@
* is being freed. This is ok it will just get
* reallocated again like it was new.
*/
- LIST_FOREACH(le, &lc->lro_active, next) {
+ LIST_FOREACH_SAFE(le, &lc->lro_active, next, le_tmp) {
if (le->m_head != NULL) {
tcp_lro_active_remove(le);
tcp_lro_flush(lc, le);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 15, 11:59 PM (9 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31512006
Default Alt Text
D46383.diff (608 B)
Attached To
Mode
D46383: tcp: improve consistency
Attached
Detach File
Event Timeline
Log In to Comment