)]}'
{
  "commit": "8caf153974f2274301e583fda732cc8e5b80331f",
  "tree": "d7f52b67e74b4bb4c81f2a4c34dae912a608f6fc",
  "parents": [
    "c7c1a0f60b90955855ba8cd9cfc480167bf6c3da"
  ],
  "author": {
    "name": "Jarek Poplawski",
    "email": "jarkao2@gmail.com",
    "time": "Fri Apr 17 10:08:49 2009 +0000"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Apr 20 02:14:59 2009 -0700"
  },
  "message": "net: sch_netem: Fix an inconsistency in ingress netem timestamps.\n\nAlex Sidorenko reported:\n\n\"while experimenting with \u0027netem\u0027 we have found some strange behaviour. It\nseemed that ingress delay as measured by \u0027ping\u0027 command shows up on some\nhosts but not on others.\n\nAfter some investigation I have found that the problem is that skbuff-\u003etstamp\nfield value depends on whether there are any packet sniffers enabled. That\nis:\n\n- if any ptype_all handler is registered, the tstamp field is as expected\n- if there are no ptype_all handlers, the tstamp field does not show the delay\"\n\nThis patch prevents unnecessary update of tstamp in dev_queue_xmit_nit()\non ingress path (with act_mirred) adding a check, so minimal overhead on\nthe fast path, but only when sniffers etc. are active.\n\nSince netem at ingress seems to logically emulate a network before a host,\ntstamp is zeroed to trigger the update and pretend delays are from the\noutside.\n\nReported-by: Alex Sidorenko \u003calexandre.sidorenko@hp.com\u003e\nTested-by: Alex Sidorenko \u003calexandre.sidorenko@hp.com\u003e\nSigned-off-by: Jarek Poplawski \u003cjarkao2@gmail.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "343883f65ea70a24f6548560e3358aac0f5335cf",
      "old_mode": 33188,
      "old_path": "net/core/dev.c",
      "new_id": "dcc357e4f91e565a962b4f4aea4a83aac704752d",
      "new_mode": 33188,
      "new_path": "net/core/dev.c"
    },
    {
      "type": "modify",
      "old_id": "d876b873484852d0a1da004e51fc4198d65627de",
      "old_mode": 33188,
      "old_path": "net/sched/sch_netem.c",
      "new_id": "2b88295cb7b7133f13e68b5e9e644c2d7fa888ab",
      "new_mode": 33188,
      "new_path": "net/sched/sch_netem.c"
    }
  ]
}
