diff options
author | Gianfranco Costamagna <costamagna.gianfranco@gmail.com> | 2019-08-28 15:53:37 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-29 09:06:54 -0700 |
commit | f2487da39452ee150177daf3af93d1a54e3acf2d (patch) | |
tree | 746075fc0fde9ece1747a7325d5b2d40f854f3a3 /meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch | |
parent | 23adcea49542da2ce2906ff862201cd9f6c37f35 (diff) | |
download | meta-openembedded-contrib-f2487da39452ee150177daf3af93d1a54e3acf2d.tar.gz |
ifmetric: add initial recipe based on Debian packaging and patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch')
-rw-r--r-- | meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch b/meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch new file mode 100644 index 0000000000..15b3103334 --- /dev/null +++ b/meta-networking/recipes-support/ifmetric/ifmetric/nlrequest.c_packet-too-small_fix.patch @@ -0,0 +1,16 @@ +Description: Fix "NETLINK: Packet too small or truncated!" error. +Author: Benedek László <benedekl@gmail.com> +Bug-Debian: http://bugs.debian.org/514197 +Index: ifmetric/src/nlrequest.c +=================================================================== +--- ifmetric.orig/src/nlrequest.c 2013-09-05 14:10:42.000000000 -0500 ++++ ifmetric/src/nlrequest.c 2013-09-05 14:19:06.573420862 -0500 +@@ -44,7 +44,7 @@ + + for (;;) { + int bytes; +- char replybuf[2048]; ++ char replybuf[4096]; + struct nlmsghdr *p = (struct nlmsghdr *) replybuf; + + if ((bytes = recv(s, &replybuf, sizeof(replybuf), 0)) < 0) { |