summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2014-01-10 23:10:17 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-14 08:32:04 +0100
commitfdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd (patch)
treed40ea95047fff32b0f3dd3d0e094d58cf49a428e /net/ieee802154
parentinet_diag: fix inet_diag_dump_icsk() to use correct state for timewait sockets (diff)
downloadlinux-fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd.tar.xz
linux-fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd.zip
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 <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>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions