]> git.baikalelectronics.ru Git - kernel.git/commit
ibmveth: check return of skb_linearize in ibmveth_start_xmit
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Thu, 3 Mar 2016 21:22:36 +0000 (15:22 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 19:38:52 +0000 (14:38 -0500)
commit52582ef7675e720ca5c1c351727b014ae84ca59e
treee2cb055dbdf55853f61c13ff1f00fc26da41b96c
parent34d3902390049a079fa418d76987ebb68ecbf78a
ibmveth: check return of skb_linearize in ibmveth_start_xmit

If skb_linearize fails, the driver should drop the packet
instead of trying to copy it into the bounce buffer.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c