Show a cover letter.

GET /api/covers/811472/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 811472,
    "url": "http://patchwork.ozlabs.org/api/covers/811472/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/cover/1504865697-27274-1-git-send-email-liuhangbin@gmail.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504865697-27274-1-git-send-email-liuhangbin@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-08T10:14:55",
    "name": "[iproute2,0/2] malloc correct buff at run time",
    "submitter": {
        "id": 15639,
        "url": "http://patchwork.ozlabs.org/api/people/15639/?format=api",
        "name": "Hangbin Liu",
        "email": "liuhangbin@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/cover/1504865697-27274-1-git-send-email-liuhangbin@gmail.com/mbox/",
    "series": [
        {
            "id": 2171,
            "url": "http://patchwork.ozlabs.org/api/series/2171/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=2171",
            "date": "2017-09-08T10:14:55",
            "name": "malloc correct buff at run time",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2171/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/811472/comments/",
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"e8qQQle1\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpY9h3kqrz9s3T\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  8 Sep 2017 20:15:36 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753379AbdIHKPe (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 8 Sep 2017 06:15:34 -0400",
            "from mail-pg0-f67.google.com ([74.125.83.67]:37253 \"EHLO\n\tmail-pg0-f67.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751654AbdIHKPc (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 8 Sep 2017 06:15:32 -0400",
            "by mail-pg0-f67.google.com with SMTP id v5so1126354pgn.4\n\tfor <netdev@vger.kernel.org>; Fri, 08 Sep 2017 03:15:32 -0700 (PDT)",
            "from leo.usersys.redhat.com ([209.132.188.80])\n\tby smtp.gmail.com with ESMTPSA id\n\ti2sm3325822pfd.21.2017.09.08.03.15.29\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 08 Sep 2017 03:15:31 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=TC89lQaG1Vqykf1knvZ64OjAJJYW2/lXt6aAZ4jro8I=;\n\tb=e8qQQle1aca85rk1N7JISP5RvUsnp/Xfl7AQ/0KaziV1BzeSpdgDFrx0LU30tSjlRo\n\tguBd+0y/iiA5uxTn6shz1vf5pwoEFwdBJgZZzdKYGFq/vxr8wnB0u/SnEMz3/UxqoDiB\n\tWlKShdhPXCMO0Al+ie2dRGfquOhJKI4/rJO6kNA9ACCnfsQi+AQmVcYmjbD8DUrGJuVE\n\ty/fn8lDPPr8xdyGV43qmYnnJDUnS5R5O4kvfCOxPfRp6i2+vqx+RZAOpcv2AEV+dITbR\n\tgZvHhukIMTM82BAyNsYqg4H8jqjF3n+/JkH4aWVS0BC10VO18obRwD6QE9M31jwl8qxX\n\txSOg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=TC89lQaG1Vqykf1knvZ64OjAJJYW2/lXt6aAZ4jro8I=;\n\tb=kUI29HIg4b11jN0zSTMLky+5o/xRGhg6itdGtl/M0X/8SPo9aRvG9uAheRc07aRtcS\n\t/ZxVI14X/dUlkhBkk+XpK/rreiLNOV6pFBH3e1Sg3UigWMp1CGuIf0cgdRcG9hubSUcM\n\tSHPi6jMxdDfFziiJziN2J5V4rq30OUcCxb2EBse1WQiZBK+4lfLU+UkWBl+Aa+RiFKb/\n\t85wqzqEgKe2OnQhvczO5wxokaVzEN2NjDMm0bRDNK4IzgMURWegU3EBgLS40WJ/cqNpv\n\tTGmP4fFN/NqIVdwZPAnLzhA5Ou9KtMkcVkjWJPe1Au+DmlItI7GFyWosGPw6QB0fhEVq\n\tl8PQ==",
        "X-Gm-Message-State": "AHPjjUhFJnlTW3gh5oXsPi6PPPzXrZY+GaDBBBNsdyU5au6Stoa42lQV\n\tjpY5ykz1CqxxZn6X",
        "X-Google-Smtp-Source": "ADKCNb5sEiTM/eyZ6td9J5PdmXbytQGXF9Ws2WVIQwKMo5QPhBck3f/9RtVLJGFY8AIvec8sS8f6tQ==",
        "X-Received": "by 10.84.129.100 with SMTP id 91mr2886384plb.198.1504865731925; \n\tFri, 08 Sep 2017 03:15:31 -0700 (PDT)",
        "From": "Hangbin Liu <liuhangbin@gmail.com>",
        "To": "netdev@vger.kernel.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n\tMichal Kubecek <mkubecek@suse.cz>, Phil Sutter <phil@nwl.cc>,\n\tHangbin Liu <liuhangbin@gmail.com>",
        "Subject": "[PATCH iproute2 0/2] malloc correct buff at run time",
        "Date": "Fri,  8 Sep 2017 18:14:55 +0800",
        "Message-Id": "<1504865697-27274-1-git-send-email-liuhangbin@gmail.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "With commit 72b365e8e0fd (\"libnetlink: Double the dump buffer size\") and\n460c03f3f3cc (\"iplink: double the buffer size also in iplink_get()\"), we\nextend the buffer size to avoid truncated message with large numbers of\nVFs. But just as Michal said, this is not future-proof since the NIC\nnumber is increasing. We have customer even has 220+ VFs now.\n\nThis is not make sense to hard code the buffer and increase it all the time.\nSo let's just malloc the correct buff size at run time.\n\nI'm not sure what init size would be suitable, so I keep use the original\nsize. I have tried with a small size like 1024, and it also works.\n\nI tested with most ip cmds and all looks good.\n\nHangbin Liu (2):\n  lib/libnetlink: re malloc buff if size is not enough\n  lib/libnetlink: update rtnl_talk to support malloc buff at run time\n\n bridge/fdb.c         |   2 +-\n bridge/link.c        |   2 +-\n bridge/mdb.c         |   2 +-\n bridge/vlan.c        |   2 +-\n genl/ctrl.c          |  14 +++---\n include/libnetlink.h |   6 +--\n ip/ipaddress.c       |   5 ++-\n ip/ipaddrlabel.c     |   4 +-\n ip/ipfou.c           |   4 +-\n ip/ipila.c           |   4 +-\n ip/ipl2tp.c          |   8 ++--\n ip/iplink.c          |  28 +++++-------\n ip/iplink_vrf.c      |  24 ++++-------\n ip/ipmacsec.c        |   2 +-\n ip/ipneigh.c         |   2 +-\n ip/ipnetns.c         |  13 +++---\n ip/ipntable.c        |   2 +-\n ip/iproute.c         |  20 +++++----\n ip/iprule.c          |   7 +--\n ip/ipseg6.c          |   7 +--\n ip/iptoken.c         |   2 +-\n ip/link_gre.c        |   7 +--\n ip/link_gre6.c       |   7 +--\n ip/link_ip6tnl.c     |   7 +--\n ip/link_iptnl.c      |   7 +--\n ip/link_vti.c        |   7 +--\n ip/link_vti6.c       |   7 +--\n ip/tcp_metrics.c     |   7 +--\n ip/xfrm_policy.c     |  22 +++++-----\n ip/xfrm_state.c      |  25 ++++++-----\n lib/libgenl.c        |   5 ++-\n lib/libnetlink.c     | 118 ++++++++++++++++++++++++++++++++-------------------\n misc/ss.c            |   2 +-\n tc/m_action.c        |   9 ++--\n tc/tc_class.c        |   2 +-\n tc/tc_filter.c       |   7 +--\n tc/tc_qdisc.c        |   2 +-\n 37 files changed, 217 insertions(+), 184 deletions(-)"
}