1. 02 7月, 2011 3 次提交
    • J
      decnet: Reduce switch/case indent · 06f8fe11
      Joe Perches 提交于
      Make the case labels the same indent as the switch.
      
      git diff -w shows differences for line wrapping.
      (fit multiple lines to 80 columns, join where possible)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      06f8fe11
    • J
      appletalk: Reduce switch/case indent · 4a9e4b09
      Joe Perches 提交于
      Make the case labels the same indent as the switch.
      
      (git diff -w net/appletalk shows no difference)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a9e4b09
    • T
      rtnl: provide link dump consistency info · 4e985ada
      Thomas Graf 提交于
      This patch adds a change sequence counter to each net namespace
      which is bumped whenever a netdevice is added or removed from
      the list. If such a change occurred while a link dump took place,
      the dump will have the NLM_F_DUMP_INTR flag set in the first
      message which has been interrupted and in all subsequent messages
      of the same dump.
      
      Note that links may still be modified or renamed while a dump is
      taking place but we can guarantee for userspace to receive a
      complete list of links and not miss any.
      
      Testing:
      I have added 500 VLAN netdevices to make sure the dump is split
      over multiple messages. Then while continuously dumping links in
      one process I also continuously deleted and re-added a dummy
      netdevice in another process. Multiple dumps per seconds have
      had the NLM_F_DUMP_INTR flag set.
      
      I guess we can wait for Johannes patch to hit net-next via the
      wireless tree.  I just wanted to give this some testing right away.
      Signed-off-by: NThomas Graf <tgraf@infradead.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4e985ada
  2. 01 7月, 2011 18 次提交
  3. 29 6月, 2011 13 次提交
  4. 28 6月, 2011 6 次提交