1. 18 6月, 2020 2 次提交
  2. 12 6月, 2020 2 次提交
  3. 10 6月, 2020 1 次提交
    • S
      ionic: wait on queue start until after IFF_UP · 976ee3b2
      Shannon Nelson 提交于
      The netif_running() test looks at __LINK_STATE_START which
      gets set before ndo_open() is called, there is a window of
      time between that and when the queues are actually ready to
      be run.  If ionic_check_link_status() notices that the link is
      up very soon after netif_running() becomes true, it might try
      to run the queues before they are ready, causing all manner of
      potential issues.  Since the netdev->flags IFF_UP isn't set
      until after ndo_open() returns, we can wait for that before
      we allow ionic_check_link_status() to start the queues.
      
      On the way back to close, __LINK_STATE_START is cleared before
      calling ndo_stop(), and IFF_UP is cleared after.  Both of
      these need to be true in order to safely stop the queues
      from ionic_check_link_status().
      
      Fixes: 49d3b493 ("ionic: disable the queues on link down")
      Signed-off-by: NShannon Nelson <snelson@pensando.io>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      976ee3b2
  4. 13 5月, 2020 11 次提交
  5. 07 5月, 2020 1 次提交
  6. 01 5月, 2020 3 次提交
  7. 22 4月, 2020 1 次提交
    • L
      drivers: Remove inclusion of vermagic header · 1c79031f
      Leon Romanovsky 提交于
      Get rid of linux/vermagic.h includes, so that MODULE_ARCH_VERMAGIC from
      the arch header arch/x86/include/asm/module.h won't be redefined.
      
        In file included from ./include/linux/module.h:30,
                         from drivers/net/ethernet/3com/3c515.c:56:
        ./arch/x86/include/asm/module.h:73: warning: "MODULE_ARCH_VERMAGIC"
      redefined
           73 | # define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
              |
        In file included from drivers/net/ethernet/3com/3c515.c:25:
        ./include/linux/vermagic.h:28: note: this is the location of the
      previous definition
           28 | #define MODULE_ARCH_VERMAGIC ""
              |
      
      Fixes: 6bba2e89 ("net/3com: Delete driver and module versions from 3com drivers")
      Co-developed-by: NBorislav Petkov <bp@suse.de>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Acked-by: Shannon Nelson <snelson@pensando.io> # ionic
      Acked-by: Sebastian Reichel <sre@kernel.org> # power
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1c79031f
  8. 15 4月, 2020 2 次提交
  9. 09 4月, 2020 2 次提交
  10. 31 3月, 2020 8 次提交
  11. 22 3月, 2020 7 次提交