Skip to content
Snippets Groups Projects
Select Git revision
  • 25cc72a33835ed8a6f53180a822cadab855852ac
  • pred_err_handling default protected
  • pred_err_handling_more_prints
  • pbm_no_preemption_fix_test_input
  • pbm_no_preemption_fix_test
  • libpbm_kernel_fix
  • libpbm_kernel
  • bugfix/setup
  • libpbm_kernel_fix_bak
  • pbm_no_preemption
  • pbm
  • testing
  • sose22results
  • sose22
  • master protected
  • err_detect
  • kelvin
17 results

kernel-program-behaviour-models

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Ido Schimmel authored and David S. Miller committed
    The mlxsw driver relies on NETDEV_CHANGEUPPER events to configure the
    device in case a port is enslaved to a master netdev such as bridge or
    bond.
    
    Since the driver ignores events unrelated to its ports and their
    uppers, it's possible to engineer situations in which the device's data
    path differs from the kernel's.
    
    One example to such a situation is when a port is enslaved to a bond
    that is already enslaved to a bridge. When the bond was enslaved the
    driver ignored the event - as the bond wasn't one of its uppers - and
    therefore a bridge port instance isn't created in the device.
    
    Until such configurations are supported forbid them by checking that the
    upper device doesn't have uppers of its own.
    
    Fixes: 0d65fc13 ("mlxsw: spectrum: Implement LAG port join/leave")
    Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Reported-by: default avatarNogah Frankel <nogahf@mellanox.com>
    Tested-by: default avatarNogah Frankel <nogahf@mellanox.com>
    Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    25cc72a3
    History
    Linux kernel
    ============
    
    This file was moved to Documentation/admin-guide/README.rst
    
    Please notice that there are several guides for kernel developers and users.
    These guides can be rendered in a number of formats, like HTML and PDF.
    
    In order to build the documentation, use ``make htmldocs`` or
    ``make pdfdocs``.
    
    There are various text files in the Documentation/ subdirectory,
    several of them using the Restructured Text markup notation.
    See Documentation/00-INDEX for a list of what is contained in each file.
    
    Please read the Documentation/process/changes.rst file, as it contains the
    requirements for building and running the kernel, and information about
    the problems which may result by upgrading your kernel.