RE: [PATCH] netvsc: Remove redundant use of ipv6_hdr()

From: Haiyang Zhang
Date: Wed Jul 19 2017 - 11:19:49 EST




> -----Original Message-----
> From: Mohammed Gamal [mailto:mgamal@xxxxxxxxxx]
> Sent: Wednesday, July 19, 2017 9:19 AM
> To: KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
> Cc: devel@xxxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> vkuznets@xxxxxxxxxx; cavery@xxxxxxxxxx; otubo@xxxxxxxxxx; Mohammed Gamal
> <mgamal@xxxxxxxxxx>
> Subject: [PATCH] netvsc: Remove redundant use of ipv6_hdr()
>
> This condition already uses an object of type ipv6hdr in the line above.
> Use the object directly instead of calling ipv6_hdr
>
> Signed-off-by: Mohammed Gamal <mgamal@xxxxxxxxxx>

Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Thanks.