diff options
author | Bjørn Mork <bjorn@mork.no> | 2014-01-11 02:10:17 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 23:22:20 +0400 |
commit | dafceed284787a69622553eb2316c60500d5efb3 (patch) | |
tree | ffab9b0b9b9091c66b420ee87730f416f933f0c9 /net | |
parent | 5f9e04ca1afe0b6faaef14ee6c65f2d9a8a6c5b7 (diff) | |
download | linux-dafceed284787a69622553eb2316c60500d5efb3.tar.xz |
net: usbnet: fix SG initialisation
[ Upstream commit fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd ]
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 <thomas@kear.co.nz>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Tested-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions