1. 21 May, 2009 2 commits
    • Ursula Braun's avatar
      qeth: avoid crash after detach of replugged device · f2148565
      Ursula Braun authored
      If a qeth device is plugged off, setting the device online stops in
      state HARDSETUP and a failure is reported to the base cio-layer
      causing halt/clear to be invoked. Replugging the device again triggers
      a qeth recovery without notification of the cio-layer. If a device
      is ungrouped in this state, the qeth set_offline function is not
      invoked, because the corresponding ccwgroup device is not in state
      ONLINE. Then incoming traffic is still handled by the qdio layer
      resulting in a crash in qeth_l<x>_qdio_input_handler, because (part
      of) the qeth data structures for this device are already removed.
      Solution: After replugging the device qeth recovery should lead to a
      working net device. Thus a "LAN offline" result when setting a qeth
      device online must not report a failure to the base cio-layer.
      Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f2148565
    • Rami Rosen's avatar
      net: Remove unused parameter from fill method in fib_rules_ops. · 04af8cf6
      Rami Rosen authored
      The netlink message header (struct nlmsghdr) is an unused parameter in
      fill method of fib_rules_ops struct.  This patch removes this
      parameter from this method and fixes the places where this method is
      called.
      
      (include/net/fib_rules.h)
      Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      04af8cf6
  2. 20 May, 2009 1 commit
    • Eric W. Biederman's avatar
      syscall: Sort out syscall_restart name clash. · 288ddad5
      Eric W. Biederman authored
      Stephen Rothwell <sfr@canb.auug.org.au> writes:
      
      > Today's linux-next build of at least some av32 and arm configs failed like this:
      >
      > arch/avr32/kernel/signal.c:216: error: conflicting types for 'restart_syscall'
      > include/linux/sched.h:2184: error: previous definition of 'restart_syscall' was here
      >
      > Caused by commit 690cc3ff ("syscall:
      > Implement a convinience function restart_syscall") from the net tree.
      
      Grrr. Some days it feels like all of the good names are already taken.
      
      Let's just rename the two static users in arm and avr32 to get this
      sorted out.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@aristanetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      288ddad5
  3. 19 May, 2009 29 commits
  4. 18 May, 2009 8 commits