]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/link_gre.c
gre: raising the size of the buffer holding nl messages.
[mirror_iproute2.git] / ip / link_gre.c
index 1d78387683ad362a0572bd2ac14983138efdbb63..193726109ee6b0c74cf9a112c1b1940a43fcb123 100644 (file)
@@ -53,7 +53,7 @@ static int gre_parse_opt(struct link_util *lu, int argc, char **argv,
        struct {
                struct nlmsghdr n;
                struct ifinfomsg i;
-               char buf[1024];
+               char buf[16384];
        } req;
        struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
        struct rtattr *tb[IFLA_MAX + 1];