From: Simon Kuenzer Date: Fri, 15 Jun 2018 01:19:49 +0000 (+0200) Subject: Convert patches from p0 to p1 format X-Git-Tag: RELEASE-0.3~18 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fa796541ff07bf33c569979eff47183a70450591;p=unikraft%2Flibs%2Flwip.git Convert patches from p0 to p1 format Signed-off-by: Sharan Santhanam --- diff --git a/patches/0001-timeval-for-socket-c.patch b/patches/0001-timeval-for-socket-c.patch index 07ded91..f1663ef 100644 --- a/patches/0001-timeval-for-socket-c.patch +++ b/patches/0001-timeval-for-socket-c.patch @@ -1,5 +1,5 @@ ---- src/api/sockets.c 2018-03-05 16:12:39.917974880 +0100 -+++ src/api/sockets.c 2018-03-05 16:12:24.577997842 +0100 +--- a/src/api/sockets.c 2018-03-05 16:12:39.917974880 +0100 ++++ b/src/api/sockets.c 2018-03-05 16:12:24.577997842 +0100 @@ -44,6 +44,8 @@ * */ diff --git a/patches/0002-introduce-lwip_getsock_status.patch b/patches/0002-introduce-lwip_getsock_status.patch index 45c9b76..65447b7 100644 --- a/patches/0002-introduce-lwip_getsock_status.patch +++ b/patches/0002-introduce-lwip_getsock_status.patch @@ -1,6 +1,6 @@ diff -urp lwip-2.0.3-orig/src/api/sockets.c src/api/sockets.c ---- src/api/sockets.c 2018-03-20 13:07:37.161480805 +0100 -+++ src/api/sockets.c 2018-03-19 18:01:08.206420575 +0100 +--- a/src/api/sockets.c 2018-03-20 13:07:37.161480805 +0100 ++++ b/src/api/sockets.c 2018-03-19 18:01:08.206420575 +0100 @@ -1290,6 +1290,46 @@ lwip_writev(int s, const struct iovec *i return lwip_sendmsg(s, &msg, 0); } @@ -49,8 +49,8 @@ diff -urp lwip-2.0.3-orig/src/api/sockets.c src/api/sockets.c * Go through the readset and writeset lists and see which socket of the sockets * set in the sets has events. On return, readset, writeset and exceptset have diff -urp src/include/lwip/sockets.h src/include/lwip/sockets.h ---- src/include/lwip/sockets.h 2017-03-01 23:13:14.000000000 +0100 -+++ src/include/lwip/sockets.h 2018-03-19 17:34:49.143047601 +0100 +--- a/src/include/lwip/sockets.h 2017-03-01 23:13:14.000000000 +0100 ++++ b/src/include/lwip/sockets.h 2018-03-19 17:34:49.143047601 +0100 @@ -419,6 +419,10 @@ typedef struct ip_mreq { #define FD_ISSET(n,p) FDSETSAFEGET(n, (p)->fd_bits[((n)-LWIP_SOCKET_OFFSET)/8] & (1 << (((n)-LWIP_SOCKET_OFFSET) & 7))) #define FD_ZERO(p) memset((void*)(p), 0, sizeof(*(p)))