1. 20 2月, 2017 1 次提交
  2. 19 2月, 2017 1 次提交
  3. 18 2月, 2017 20 次提交
  4. 16 2月, 2017 3 次提交
    • D
      rhashtable: Revert nested table changes. · bf3f14d6
      David S. Miller 提交于
      This reverts commits:
      
      6a254780
      9dbbfb0a
      40137906
      
      It's too risky to put in this late in the release
      cycle.  We'll put these changes into the next merge
      window instead.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bf3f14d6
    • J
      openvswitch: Set internal device max mtu to ETH_MAX_MTU. · 425df17c
      Jarno Rajahalme 提交于
      Commit 91572088 ("net: use core MTU range checking in core net
      infra") changed the openvswitch internal device to use the core net
      infra for controlling the MTU range, but failed to actually set the
      max_mtu as described in the commit message, which now defaults to
      ETH_DATA_LEN.
      
      This patch fixes this by setting max_mtu to ETH_MAX_MTU after
      ether_setup() call.
      
      Fixes: 91572088 ("net: use core MTU range checking in core net infra")
      Signed-off-by: NJarno Rajahalme <jarno@ovn.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      425df17c
    • M
      net: neigh: Fix netevent NETEVENT_DELAY_PROBE_TIME_UPDATE notification · 7627ae60
      Marcus Huewe 提交于
      When setting a neigh related sysctl parameter, we always send a
      NETEVENT_DELAY_PROBE_TIME_UPDATE netevent. For instance, when
      executing
      
      	sysctl net.ipv6.neigh.wlp3s0.retrans_time_ms=2000
      
      a NETEVENT_DELAY_PROBE_TIME_UPDATE netevent is generated.
      
      This is caused by commit 2a4501ae ("neigh: Send a
      notification when DELAY_PROBE_TIME changes"). According to the
      commit's description, it was intended to generate such an event
      when setting the "delay_first_probe_time" sysctl parameter.
      
      In order to fix this, only generate this event when actually
      setting the "delay_first_probe_time" sysctl parameter. This fix
      should not have any unintended side-effects, because all but one
      registered netevent callbacks check for other netevent event
      types (the registered callbacks were obtained by grepping for
      "register_netevent_notifier"). The only callback that uses the
      NETEVENT_DELAY_PROBE_TIME_UPDATE event is
      mlxsw_sp_router_netevent_event() (in
      drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c): in case
      of this event, it only accesses the DELAY_PROBE_TIME of the
      passed neigh_parms.
      
      Fixes: 2a4501ae ("neigh: Send a notification when DELAY_PROBE_TIME changes")
      Signed-off-by: NMarcus Huewe <suse-tux@gmx.de>
      Reviewed-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7627ae60
  5. 15 2月, 2017 15 次提交