1. 21 Aug, 2016 4 commits
    • David S. Miller's avatar
      Merge branch 'tun-cleanups' · 8238ac0c
      David S. Miller authored
      Markus Elfring says:
      
      ====================
      tun: Fine-tuning for update_filter()
      
      A few update suggestions were taken into account
      from static source code analysis.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8238ac0c
    • Markus Elfring's avatar
      tun: Rename a jump label in update_filter() · 3b8d2a69
      Markus Elfring authored
      Adjust a jump target according to the Linux coding style convention.
      Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3b8d2a69
    • Markus Elfring's avatar
      tun: Use memdup_user() rather than duplicating its implementation · 28e8190d
      Markus Elfring authored
      Reuse existing functionality from memdup_user() instead of keeping
      duplicate source code.
      
      This issue was detected by using the Coccinelle software.
      Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
      Reviewed-by: default avatarShmulik Ladkani <shmulik.ladkani@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      28e8190d
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 4825a4e4
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2016-08-19
      
      This series contains updates to i40e and i40evf only.
      
      Jake provides several patches, first just moves a function to co-locate
      the two functions related to configuring RSS via the admin queue, which
      should help in spotting bugs when comparing the two functions.  Fixed
      an issue where commit e69ff813 ("i40e: rework the functions to
      configure RSS with similar parameters") missed checking whether the seed
      is NULL before using it and did not use the passed in *lut parameter.
      Fixed an issue where a previous refactor missed i40e_vsi_config_rss()
      and the values were being ignored, so checked for the fields and used
      them instead of default values.  Lastly replaced calls to
      create_singlethread_workqueue() with alloc_workqueue() to provide more
      control over workqueue creation and allows explicit setting of the
      desired mode of operation.
      
      Mitch adds link speed to log messages and reports speed through ethtool.
      
      Carolyn refactors tail bump check and fixes byte ordering problems found
      when enabling this feature support.  Adds support for HMC resources and
      profile commands for x722 firmware.
      
      Heinrich Schuchardt fixes format identifiers from %u to %d since the
      variable is defined as an integer.
      
      Catherine fixes an issue where there was a race condition between the
      completion of the client open and calls to the client ops, so ensured
      that client ops are not called until we are sure client is open.
      
      Harshitha makes sure that i40e_client_release() does not try to use
      an adapter pointer which may not be initialized, so make sure it is.
      
      Joe Perches fixes the use of the local macro XSTRINGIFY() to use
      __stringify() instead.
      
      Avinash corrects the mutex usage in client_subtask().  Fixed the RDMA
      client to open again after reset since it is closed during a PF reset.
      
      Jeff (me) clean up whitespace issues, where indentation was done
      inconsistently and with spaces versus tabs.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4825a4e4
  2. 20 Aug, 2016 36 commits