get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/6708/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 6708,
    "url": "https://patches.dpdk.org/api/patches/6708/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1438782512-8364-1-git-send-email-balabanovsv@ecotelecom.ru/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1438782512-8364-1-git-send-email-balabanovsv@ecotelecom.ru>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1438782512-8364-1-git-send-email-balabanovsv@ecotelecom.ru",
    "date": "2015-08-05T13:48:32",
    "name": "[dpdk-dev] bonding: 8023ad: fix incorrect typecast of socket",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e28cf5af7a20a91cdda814633dbf90a94ddebc49",
    "submitter": {
        "id": 301,
        "url": "https://patches.dpdk.org/api/people/301/?format=api",
        "name": "Sergey Balabanov",
        "email": "balabanovsv@ecotelecom.ru"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1438782512-8364-1-git-send-email-balabanovsv@ecotelecom.ru/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/6708/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/6708/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 6B6B75A24;\n\tWed,  5 Aug 2015 15:48:35 +0200 (CEST)",
            "from mail.ecotelecom.ru (mail.ecotelecom.ru [193.105.59.24])\n\tby dpdk.org (Postfix) with ESMTP id 697545960\n\tfor <dev@dpdk.org>; Wed,  5 Aug 2015 15:48:34 +0200 (CEST)",
            "from stand.ecotelecom.ru (unknown [10.210.0.221])\n\tby mail.ecotelecom.ru (Postfix) with ESMTP id 0BCB5D407BC;\n\tWed,  5 Aug 2015 16:48:34 +0300 (MSK)"
        ],
        "From": "Sergey Balabanov <balabanovsv@ecotelecom.ru>",
        "To": "dev@dpdk.org",
        "Date": "Wed,  5 Aug 2015 16:48:32 +0300",
        "Message-Id": "<1438782512-8364-1-git-send-email-balabanovsv@ecotelecom.ru>",
        "X-Mailer": "git-send-email 2.1.4",
        "Subject": "[dpdk-dev] [PATCH] bonding: 8023ad: fix incorrect typecast of socket",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "On slave activation in LACP (8023AD) SOCKET_ANY_ID (which is -1)\nis being casted to unsigned char and then to signed int.\nThe result is that socket_id has value of 255, not -1.\nThis results to memory allocation failure.\n---\n drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net/bonding/rte_eth_bond_8023ad.c\nindex 97a828e..c0f0b99 100644\n--- a/drivers/net/bonding/rte_eth_bond_8023ad.c\n+++ b/drivers/net/bonding/rte_eth_bond_8023ad.c\n@@ -849,7 +849,7 @@ bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t slave_id)\n \t};\n \n \tchar mem_name[RTE_ETH_NAME_MAX_LEN];\n-\tuint8_t socket_id;\n+\tint socket_id;\n \tunsigned element_size;\n \n \t/* Given slave mus not be in active list */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}