儲存庫 vbox 的更動 17145
- 時間撮記:
- 2009-2-26 上午09:11:32 (16 年 以前)
- 位置:
- trunk/src/VBox/Devices/Network/slirp
- 檔案:
-
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Network/slirp/ip_icmp.c
r16653 r17145 252 252 if (found == 1 && icm == NULL) 253 253 { 254 if (so->so_state == SS_NOFDREF) 255 { 256 /* socket is shutdowning we've already sent ICMP on it.*/ 257 LogRel(("NAT: Received icmp on shutdowning socket (probably corresponding ICMP socket has been already sent)\n")); 258 return NULL; 259 } 254 260 icm = RTMemAlloc(sizeof(struct icmp_msg)); 255 261 icm->im_m = so->so_m; … … 390 396 errno, strerror(errno))); 391 397 icmp_error(pData, m, ICMP_UNREACH,ICMP_UNREACH_NET, 0, strerror(errno)); 392 m_free(pData, m);393 398 } 394 399 } -
trunk/src/VBox/Devices/Network/slirp/socket.c
r16816 r17145 550 550 Log2((dfd," rx error, tx icmp ICMP_UNREACH:%i\n", code)); 551 551 icmp_error(pData, so->so_m, ICMP_UNREACH,code, 0,strerror(errno)); 552 so->so_m = NULL; 552 553 m_free(pData, m); 553 554 } … … 1013 1014 code = (code != ~0 ? code : ICMP_UNREACH_PORT); 1014 1015 icmp_error(pData, so->so_m, ICMP_UNREACH, code, 0, "Error occurred!!!"); 1016 so->so_m = NULL; 1015 1017 break; 1016 1018 case IP_SUCCESS: /* echo replied */ … … 1097 1099 errno,strerror(errno))); 1098 1100 icmp_error(pData, so->so_m, ICMP_UNREACH,code, 0,strerror(errno)); 1101 so->so_m = NULL; 1099 1102 } 1100 1103 else -
trunk/src/VBox/Devices/Network/slirp/tcp_input.c
r16450 r17145 762 762 *ip = save_ip; 763 763 icmp_error(pData, m, ICMP_UNREACH,code, 0,strerror(errno)); 764 tp->t_socket->so_m = NULL; 764 765 } 765 766 tp = tcp_close(pData, tp); -
trunk/src/VBox/Devices/Network/slirp/udp.c
r17056 r17145 252 252 DEBUG_MISC((dfd,"udp tx errno = %d-%s\n", errno, strerror(errno))); 253 253 icmp_error(pData, m, ICMP_UNREACH,ICMP_UNREACH_NET, 0, strerror(errno)); 254 /* in case we receive ICMP on this socket we'll aware that ICMP has been already sent to host*/ 255 so->so_m = NULL; 254 256 } 255 257
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器