Displaying 2 results from an estimated 2 matches for "tftp_remoteport".
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered
the following error at the end:
rm -f liblpxelinux.a
ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o
2004 Mar 01
0
[PATCH] pxelinux corrupts ipappend-ed paramaters...
...y
+		sti		; enable interrupts
+		xor	[NextSocket],ah
+%endif
 ;
 ; Now attempt to get the BOOTP/DHCP packet that brought us life (and an IP
 ; address).  This lives in the DHCPACK packet (query info 2).
@@ -1785,6 +1835,10 @@
 .recv_ok:	pop dx				; <F>
 		pop cx				; <E>
 
+		mov	ax,[si+tftp_remoteport]
+		cmp	ax,[pxe_udp_read_pkt.rport]
+		jne	.wait_data		; data from orphaned tftpd
+.port_ok:
 		cmp word [pxe_udp_read_pkt.buffersize],byte 4
 		jb .wait_data			; Bad size for a DATA packet
 
@@ -2034,6 +2088,8 @@
 		mov cx,4
 .genchar:
 		push eax
+		cmp al,10
+		jb .lt10
 		cmp al,100
 		jb .lt10...