commit | f6fe569fe056388166575af1cfaed0bcbc688305 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Wed Sep 05 21:22:32 2012 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 05 16:19:58 2012 -0400 |
tree | 2e93441f102fdae179f2ec48a6a77a0769c96429 | |
parent | d23ff701643a4a725e2c7a8ba2d567d39daa29ea [diff] |
Revert "usbnet: drop unneeded check for NULL" This reverts commit 5d65878d7031b6c39054b282faceff406bb2fda9. The upper layers call usbnet_start_xmit() with a valid skb. However cdc_ncm abuses this method by calling it with NULL to trigger IO for the aggregated private skb holding erlier packets. Until cdc_ncm is fixed, the check for NULL must be reintroduced. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>