> On Sat, Feb 22, 2014 at 2:25 AM, YAMAMOTO Takashi > <yamam...@valinux.co.jp> wrote: >>> On Fri, Feb 21, 2014 at 5:33 PM, YAMAMOTO Takashi >>> <yamam...@valinux.co.jp> wrote: >>>> Fix the regression introduced by commit 4f57ad10. >>>> ("socket-util: Move get_max_fds() to process.c") >>>> >>>> Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> >>> I suppose this did not fail the build? Otherwise looks like the >>> correct thing to do. >> >> this broke the build at least on netbsd. > Sorry about that. I pushed the change to master (It hadn't broken the > build on Linux, probably some indirect include).
btw, what do you expect set_dscp() do for ipv6 sockets? setopt IP_TOS fails with ENOPROTOOPT on ipv6 sockets at least on NetBSD. what does it do on Linux? YAMAMOTO Takashi >> >> YAMAMOTO Takashi >> >>> >>>> --- >>>> lib/process.c | 1 + >>>> lib/socket-util.c | 1 - >>>> 2 files changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/lib/process.c b/lib/process.c >>>> index b479d00..313f11f 100644 >>>> --- a/lib/process.c >>>> +++ b/lib/process.c >>>> @@ -21,6 +21,7 @@ >>>> #include <signal.h> >>>> #include <stdlib.h> >>>> #include <string.h> >>>> +#include <sys/resource.h> >>>> #include <sys/stat.h> >>>> #include <sys/wait.h> >>>> #include <unistd.h> >>>> diff --git a/lib/socket-util.c b/lib/socket-util.c >>>> index 6bc5d2c..eec2713 100644 >>>> --- a/lib/socket-util.c >>>> +++ b/lib/socket-util.c >>>> @@ -27,7 +27,6 @@ >>>> #include <stdlib.h> >>>> #include <string.h> >>>> #include <sys/ioctl.h> >>>> -#include <sys/resource.h> >>>> #include <sys/socket.h> >>>> #include <sys/stat.h> >>>> #include <sys/uio.h> >>>> -- >>>> 1.8.3.1 >>>> >>>> _______________________________________________ >>>> dev mailing list >>>> dev@openvswitch.org >>>> http://openvswitch.org/mailman/listinfo/dev >>> _______________________________________________ >>> dev mailing list >>> dev@openvswitch.org >>> http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev