瀏覽代碼

[tcp] Fix comment to match code behaviour

Reported-by: Thomas Miletich <thomas.miletich@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 年之前
父節點
當前提交
d4f8e56bb4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/net/tcp.c

+ 1
- 1
src/net/tcp.c 查看文件

@@ -1216,7 +1216,7 @@ static int tcp_rx ( struct io_buffer *iobuf,
1216 1216
 	tcp_dump_flags ( tcp, tcphdr->flags );
1217 1217
 	DBGC2 ( tcp, "\n" );
1218 1218
 
1219
-	/* If no connection was found, send RST */
1219
+	/* If no connection was found, silently drop packet */
1220 1220
 	if ( ! tcp ) {
1221 1221
 		rc = -ENOTCONN;
1222 1222
 		goto discard;

Loading…
取消
儲存