diff options
author | Bjørn Mork <[email protected]> | 2014-01-10 23:10:17 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-01-13 23:32:04 -0800 |
commit | fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd (patch) | |
tree | d40ea95047fff32b0f3dd3d0e094d58cf49a428e /tools/perf/util/trace-event-scripting.c | |
parent | 70315d22d3c7383f9a508d0aab21e2eb35b2303a (diff) |
net: usbnet: fix SG initialisation
Commit 60e453a940ac ("USBNET: fix handling padding packet")
added an extra SG entry in case padding is necessary, but
failed to update the initialisation of the list. This can
cause list traversal to fall off the end of the list,
resulting in an oops.
Fixes: 60e453a940ac ("USBNET: fix handling padding packet")
Reported-by: Thomas Kear <[email protected]>
Cc: Ming Lei <[email protected]>
Signed-off-by: Bjørn Mork <[email protected]>
Tested-by: Ming Lei <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions