]> 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)
commit1c4cec492f9d3089c5b6ca98e1156c0f50d109bd
treefe05c4b0b0ef2a2d7392a8eca3fa48193b1969d1
parentb2e0848d82ad99e04d843ccc0cf13863d3de6bba
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