[ovs-discuss] ovs-vswitchd memory consumption behavior

Ben Pfaff blp at ovn.org
Wed Mar 6 00:17:55 UTC 2019


On Wed, Mar 06, 2019 at 12:13:32AM +0000, Fernando Casas Schössow wrote:
> And besides the ifupdown scripts the only patch it applies seems to be required by musl libc:
> 
> musl-if_packet.patch
> --- openvswitch-2.4.0/lib/netdev-linux.c 2015-08-20 00:33:42.960971996 +0000
> +++ openvswitch-2.4.0/lib/netdev-linux.c.new 2015-08-22 18:16:10.741115156 +0000
> @@ -37,10 +37,9 @@
>  #include <sys/ioctl.h>
>  #include <sys/socket.h>
>  #include <sys/utsname.h>
> -#include <netpacket/packet.h>
>  #include <net/if.h>
>  #include <net/if_arp.h>
> -#include <net/if_packet.h>
> +#include <linux/if_packet.h>
>  #include <net/route.h>
>  #include <netinet/in.h>
>  #include <poll.h>

I'm going to assume that the 2.4.0 version number in the patch just
means that it was originally applied to that version and later
forward-ported.

If this patch is still needed on master, let me know--we'll get it
applied upstream.


More information about the discuss mailing list