Re: [PATCH] NET: mkiss: Fix panic

2017-02-10 Thread David Miller
From: Ralf Baechle Date: Thu, 9 Feb 2017 14:12:11 +0100 > If a USB-to-serial adapter is unplugged, the driver re-initializes, with > dev->hard_header_len and dev->addr_len set to zero, instead of the correct > values. If then a packet is sent through the half-dead interface, the > kernel will pa

[PATCH] NET: mkiss: Fix panic

2017-02-09 Thread Ralf Baechle
If a USB-to-serial adapter is unplugged, the driver re-initializes, with dev->hard_header_len and dev->addr_len set to zero, instead of the correct values. If then a packet is sent through the half-dead interface, the kernel will panic due to running out of headroom in the skb when pushing for the