]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: don't overload variable in same function
authorstephen hemminger <stephen@networkplumber.org>
Mon, 27 Feb 2017 18:26:47 +0000 (10:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:13:13 +0000 (17:13 -0800)
commitfbfc0118e32ad13b7c1cb9221cf60d42f549f89a
treefe05c4b0b0ef2a2d7392a8eca3fa48193b1969d1
parent07e5aa21b77d7b21d0587d1da3cab54a45e5993c
netvsc: don't overload variable in same function

There are two variables named packet in the same function. One is the
metadata descriptor from host (vmpacket_descriptor) and the other is
the control block in the skb used to hold metadata from send.
Change name to avoid possible confusion and bugs.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c