USB: CDC: fix sanity checks in CDC union parser

A few checks checked for the size of the pointer to a structure
instead of the structure itself. Copy & paste issue presumably.

Fixes: e4c6fb7794982 ("usbnet: move the CDC parser into USB core")
Cc: stable <>
Signed-off-by: Oliver Neukum <>
Signed-off-by: Greg Kroah-Hartman <>
1 file changed