)]}'
{
  "commit": "d9d52b5178af586d679c1052fb161ee05ea2e83f",
  "tree": "6148fda40e5aa28f3e8ceb438ffc51c5bb08dd86",
  "parents": [
    "7ef527377b88ff05fb122a47619ea506c631c914"
  ],
  "author": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Wed Mar 17 17:45:01 2010 +0200"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Mon May 03 12:33:13 2010 +0300"
  },
  "message": "tun: add ioctl to modify vnet header size\n\nvirtio added mergeable buffers mode where 2 bytes of extra info is put\nafter vnet header but before actual data (tun does not need this data).\nIn hindsight, it would have been better to add the new info *before* the\npacket: as it is, users need a lot of tricky code to skip the extra 2\nbytes in the middle of the iovec, and in fact applications seem to get\nit wrong, and only work with specific iovec layout.  The fact we might\nneed to split iovec also means we might in theory overflow iovec max\nsize.\n\nThis patch adds a simpler way for applications to handle this,\nand future proofs the interface against further extensions,\nby making the size of the virtio net header configurable\nfrom userspace. As a result, tun driver will simply\nskip the extra 2 bytes on both input and output.\n\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nAcked-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e525a6cf5587bb94b9200187d041866de6a67196",
      "old_mode": 33188,
      "old_path": "drivers/net/tun.c",
      "new_id": "6b150c072a4140a4368530cf37ed1990c6f34ffe",
      "new_mode": 33188,
      "new_path": "drivers/net/tun.c"
    },
    {
      "type": "modify",
      "old_id": "1350a246893a179675fe7cc529e1ebb52f20dcf0",
      "old_mode": 33188,
      "old_path": "include/linux/if_tun.h",
      "new_id": "06b1829731fd6f6c7f4864463c0ee2b73b4e15bf",
      "new_mode": 33188,
      "new_path": "include/linux/if_tun.h"
    }
  ]
}
