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]>