← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1657540] Re: [Hyper-V] netvsc: add rcu_read locked to netvsc callback

 

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Zesty)
   Importance: Undecided
       Status: Confirmed

** Also affects: linux (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Yakkety)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Xenial)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1657540

Title:
  [Hyper-V] netvsc: add rcu_read locked to netvsc callback

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Xenial:
  Confirmed
Status in linux source package in Yakkety:
  Confirmed
Status in linux source package in Zesty:
  Confirmed

Bug description:
  Please add the following upstream commit (and its prerequisites) for
  SR-IOV on Azure:

  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0719e72ccb801829a3d735d187ca8417f0930459

  author
  stephen hemminger <stephen@xxxxxxxxxxxxxxxxxx>
  2017-01-11 17:16:32 (GMT)
  committer
  David S. Miller <davem@xxxxxxxxxxxxx>
  2017-01-11 21:13:53 (GMT)
  commit
  0719e72ccb801829a3d735d187ca8417f0930459 (patch)
  tree
  a4f718fefcb15433fa59f6d4add44ae220edb806
  parent
  4ecb1d83f6abe8d49163427f4d431ebe98f8bd5f (diff)
  netvsc: add rcu_read locking to netvsc callback
  The receive callback (in tasklet context) is using RCU to get reference
  to associated VF network device but this is not safe. RCU read lock
  needs to be held. Found by running with full lockdep debugging
  enabled.

  Fixes: f207c10d9823 ("hv_netvsc: use RCU to protect vf_netdev")
  Signed-off-by: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
  Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1657540/+subscriptions