]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
Convert patches from p0 to p1 format
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Fri, 15 Jun 2018 01:19:49 +0000 (03:19 +0200)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Fri, 15 Jun 2018 01:20:57 +0000 (03:20 +0200)
Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
patches/0001-timeval-for-socket-c.patch
patches/0002-introduce-lwip_getsock_status.patch

index 07ded91239daae37d562638beeb6d875b1afe0e9..f1663ef88932f089329fb067d21f84d48d7c21d4 100644 (file)
@@ -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 @@
   *\r
   */\r
index 45c9b76bcaf349b7cae05742d72d312f5255b302..65447b7c7ccf95d8983b61ffe6c30e1789c811ff 100644 (file)
@@ -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);\r
  }\r
@@ -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\r
   * set in the sets has events. On return, readset, writeset and exceptset have\r
 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)))\r
  #define FD_ZERO(p)    memset((void*)(p), 0, sizeof(*(p)))\r