1. 01 11月, 2006 37 次提交
  2. 31 10月, 2006 3 次提交
    • J
      [IPV6]: fix flowlabel seqfile handling · 1b7c2dbc
      James Morris 提交于
      There's a bug in the seqfile show operation for flowlabel objects, where 
      each hash chain is traversed cumulatively for each element.  The following 
      function is called for each element of each chain:
      
      static void ip6fl_fl_seq_show(struct seq_file *seq, struct ip6_flowlabel *fl)
      {
              while(fl) {
                      seq_printf...
      		
      		fl = fl->next;
      	}
      }
      
      Thus, objects can appear mutliple times when reading 
      /proc/net/ip6_flowlabel, as the above is called for each element in the 
      chain.
      
      The solution is to remove the while() loop from the above, and traverse 
      each chain exactly once, per the patch below.  This also removes the 
      ip6fl_fl_seq_show() function, which does nothing else.
      Signed-off-by: NJames Morris <jmorris@namei.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b7c2dbc
    • J
      sh: Titan defconfig update. · 4731f2df
      Jamie Lenehan 提交于
      Small defconfig update for titan for 2.6.19-rc3, adding SH-RTC.
      Signed-off-by: NJamie Lenehan <lenehan@twibble.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4731f2df
    • J
      sh: Fix IPR-IRQ's for IRQ-chip change breakage. · bd71ab88
      Jamie Lenehan 提交于
      The conversion from IPR-IRQ to IRQ-chip resulted in the
      ipr data being allocated in a local variable in
      make_ipr_irq - breaking anything using IPR interrupts.
      
      This changes all of the callers of make_ipr_irq to
      allocate a static structure containing the IPR data which
      is then passed to make_ipr_irq. This removes the need for
      make_ipr_irq to allocate any additional space for the IPR
      information.
      Signed-off-by: NJamie Lenehan <lenehan@twibble.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      bd71ab88