Re^2: [PATCH] usbnet: add reset_resume quirk to prevent resume failure

2016-07-03 Thread Vivek Kumar Bhagat
ginal Message --- Sender : David Miller Date : Jul 02, 2016 01:28 (GMT+05:30) Title : Re: [PATCH] usbnet: add reset_resume quirk to prevent resume failure From: Vivek Kumar Bhagat Date: Thu, 30 Jun 2016 10:41:59 + (GMT) > > Ideally, usbnet_resume is sufficient for device resume operation. >

[PATCH] usbnet: add reset_resume quirk to prevent resume failure

2016-06-30 Thread Vivek Kumar Bhagat
ils. Reason could be some power glitch during suspend time due to which device lose its internal state and it needs a device phy reset again during resume to recover. Signed-off-by: Vivek Kumar Bhagat Signed-off-by: Vikas Bansal Signed-off-by: Sangmin Bae --- drivers/net/usb/asix_devices.c |

Re: Re: [PATCH] usbnet: dereference after null check in usbnet_start_xmit() and __usbnet_read_cmd()

2015-08-19 Thread Vivek Kumar Bhagat
is confusing which says skb can be NULL. skb_tx_timestamp(skb); Best Regards, Vivek --- Original Message --- Sender : Bjørn Mork Date : Aug 19, 2015 17:21 (GMT+05:30) Title : Re: [PATCH] usbnet: dereference after null check in usbnet_start_xmit() and __usbnet_read_cmd()

Re^2:: [PATCH] usbnet: dereference after null check in usbnet_start_xmit() and __usbnet_read_cmd()

2015-08-19 Thread Vivek Kumar Bhagat
s my mistake. I apologise for this. Best Regards, Vivek --- Original Message --- Sender : Bjørn Mork Date : Aug 19, 2015 17:21 (GMT+05:30) Title : Re: [PATCH] usbnet: dereference after null check in usbnet_start_xmit() and __usbnet_read_cmd() Vivek Kumar Bhagat writes: > usbnet_sta

[PATCH] usbnet: dereference after null check in usbnet_start_xmit() and __usbnet_read_cmd()

2015-08-19 Thread Vivek Kumar Bhagat
usbnet_start_xmit() - If info->tx_fixup is not defined by class driver, NULL check does not happen for skb pointer and leads to NULL dereference. __usbnet_read_cmd() - if data pointer is passed as NULL, memcpy will dereference NULL pointer. Signed-off-by: Vivek Kumar Bhagat --- drivers/net/

Re: [PATCH] ax88179_178a: add reset functionality in reset_resume

2015-07-01 Thread Vivek Kumar Bhagat
Hello David, I configured my email client and below patch does not have indentation issue of converting tabs into spaces. I hope it should be accepted. Thanks, Vivek --- Original Message --- Sender : Vivek Kumar Bhagat Chief Engineer/SRI-Delhi-System S/W 1 Team/Samsung Electronics Date

[PATCH] ax88179_178a: add reset functionality in reset_resume

2015-06-30 Thread Vivek Kumar Bhagat
, Cadyce dongle. Signed-off-by: Vivek Kumar Bhagat Signed-off-by: Praveen Kumar --- drivers/net/usb/ax88179_178a.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index e6338c1..00928c0 100644 --- a

[EDT] [v2][PATCH] ax88179_178a: add reset function in reset_resume

2015-06-30 Thread Vivek Kumar Bhagat
verified it on ASIX based ST Lab, Cadyce dongle. Signed-off-by: Vivek Kumar Bhagat Signed-off-by: Praveen Kumar --- drivers/net/usb/ax88179_178a.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c

[EDT][PATCH] ax88179_178a: add reset function in reset_resume

2015-06-25 Thread Vivek Kumar Bhagat
-by: Vivek Kumar Bhagat Signed-off-by: Praveen Kumar --- drivers/net/usb/ax88179_178a.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index e6338c1..00928c0 100644 --- a/drivers/net/usb

[EDT] [PATCH] ax88179_178a: add reset function in reset_resume

2015-06-25 Thread Vivek Kumar Bhagat
EP-EC562D6B53594479BCA6FC73F17DEE54 Hello David, without reset functionality in reset_resume, iperf connection does not establish after suspend/resume however ping works at the same time. reset function inside reset_resume solves above bug. We have verified it on ASIX based ST Lab, Cadyce dongle