12 Oct, 2007

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (87 commits)
    mlx4_core: Fix section mismatches
    IPoIB: Allow setting policy to ignore multicast groups
    IB/mthca: Mark error paths as unlikely() in post_srq_recv functions
    IB/ipath: Minor fix to ordering of freeing and zeroing of tid pages.
    IB/ipath: Remove redundant link state checks
    IB/ipath: Fix IB_EVENT_PORT_ERR event
    IB/ipath: Better handling of unexpected GPIO interrupts
    IB/ipath: Maintain active time on all chips
    IB/ipath: Fix QHT7040 serial number check
    IB/ipath: Indicate a couple of chip bugs to userspace
    IB/ipath: iba6110 rev4 no longer needs recv header overrun workaround
    IB/ipath: Use counters in ipath_poll and cleanup interrupts in ipath_close
    IB/ipath: Remove duplicate copy of LMC
    IB/ipath: Add ability to set the LMC via the sysfs debugging interface
    IB/ipath: Optimize completion queue entry insertion and polling
    IB/ipath: Implement IB_EVENT_QP_LAST_WQE_REACHED
    IB/ipath: Generate flush CQE when QP is in error state
    IB/ipath: Remove redundant code
    IB/ipath: Future proof eeprom checksum code (contents reading)
    IB/ipath: UC RDMA WRITE with IMMEDIATE doesn't send the immediate
    ...

    Linus Torvalds
     

11 Oct, 2007

3 commits

  • It's been a useless no-op for long enough in 2.6 so I figured it's time to
    remove it. The number of people that could object because they're
    maintaining unified 2.4 and 2.6 drivers is probably rather small.

    [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ]

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jeff Garzik
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • This patch makes most of the generic device layer network
    namespace safe. This patch makes dev_base_head a
    network namespace variable, and then it picks up
    a few associated variables. The functions:
    dev_getbyhwaddr
    dev_getfirsthwbytype
    dev_get_by_flags
    dev_get_by_name
    __dev_get_by_name
    dev_get_by_index
    __dev_get_by_index
    dev_ioctl
    dev_ethtool
    dev_load
    wireless_process_ioctl

    were modified to take a network namespace argument, and
    deal with it.

    vlan_ioctl_set and brioctl_set were modified so their
    hooks will receive a network namespace argument.

    So basically anthing in the core of the network stack that was
    affected to by the change of dev_base was modified to handle
    multiple network namespaces. The rest of the network stack was
    simply modified to explicitly use &init_net the initial network
    namespace. This can be fixed when those components of the network
    stack are modified to handle multiple network namespaces.

    For now the ifindex generator is left global.

    Fundametally ifindex numbers are per namespace, or else
    we will have corner case problems with migration when
    we get that far.

    At the same time there are assumptions in the network stack
    that the ifindex of a network device won't change. Making
    the ifindex number global seems a good compromise until
    the network stack can cope with ifindex changes when
    you change namespaces, and the like.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: David S. Miller

    Eric W. Biederman
     
  • Signed-off-by: Eli Cohen
    Signed-off-by: Roland Dreier

    Eli Cohen
     

10 Oct, 2007

36 commits