Re: [PATCH v6 5/7] can: kvaser_usb: Update interface state before exiting on OOM

2015-01-26 Thread Marc Kleine-Budde
On 01/26/2015 11:52 AM, Andri Yngvason wrote: > Quoting Marc Kleine-Budde (2015-01-26 10:50:12) >> On 01/26/2015 11:28 AM, Andri Yngvason wrote: >>> Quoting Ahmed S. Darwish (2015-01-26 05:27:19) From: Ahmed S. Darwish Update all of the can interface's state and error counters befor

Re: [PATCH v6 5/7] can: kvaser_usb: Update interface state before exiting on OOM

2015-01-26 Thread Andri Yngvason
Quoting Marc Kleine-Budde (2015-01-26 10:50:12) > On 01/26/2015 11:28 AM, Andri Yngvason wrote: > > Quoting Ahmed S. Darwish (2015-01-26 05:27:19) > >> From: Ahmed S. Darwish > >> > >> Update all of the can interface's state and error counters before > >> trying any skb allocation that can actuall

Re: [PATCH v6 5/7] can: kvaser_usb: Update interface state before exiting on OOM

2015-01-26 Thread Marc Kleine-Budde
On 01/26/2015 11:28 AM, Andri Yngvason wrote: > Quoting Ahmed S. Darwish (2015-01-26 05:27:19) >> From: Ahmed S. Darwish >> >> Update all of the can interface's state and error counters before >> trying any skb allocation that can actually fail with -ENOMEM. >> >> Suggested-by: Marc Kleine-Budde

Re: [PATCH v6 5/7] can: kvaser_usb: Update interface state before exiting on OOM

2015-01-26 Thread Andri Yngvason
Quoting Ahmed S. Darwish (2015-01-26 05:27:19) > From: Ahmed S. Darwish > > Update all of the can interface's state and error counters before > trying any skb allocation that can actually fail with -ENOMEM. > > Suggested-by: Marc Kleine-Budde > Signed-off-by: Ahmed S. Darwish > --- > drivers/