1. Dec 25, 2005
  2. Dec 24, 2005
  3. Dec 23, 2005
  4. Dec 22, 2005
    • David S. Miller's avatar
    • David S. Miller's avatar
      [IPSEC]: Fix policy updates missed by sockets · 9b78a82c
      David S. Miller authored
      
      
      The problem is that when new policies are inserted, sockets do not see
      the update (but all new route lookups do).
      
      This bug is related to the SA insertion stale route issue solved
      recently, and this policy visibility problem can be fixed in a similar
      way.
      
      The fix is to flush out the bundles of all policies deeper than the
      policy being inserted.  Consider beginning state of "outgoing"
      direction policy list:
      
      	policy A --> policy B --> policy C --> policy D
      
      First, realize that inserting a policy into a list only potentially
      changes IPSEC routes for that direction.  Therefore we need not bother
      considering the policies for other directions.  We need only consider
      the existing policies in the list we are doing the inserting.
      
      Consider new policy "B'", inserted after B.
      
      	policy A --> policy B --> policy B' --> policy C --> policy D
      
      Two rules:
      
      1) If policy A or policy B matched before the insertion, they
         appear before B' and thus would still match after inserting
         B'
      
      2) Policy C and D, now "shadowed" and after policy B', potentially
         contain stale routes because policy B' might be selected
         instead of them.
      
      Therefore we only need flush routes assosciated with policies
      appearing after a newly inserted policy, if any.
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9b78a82c
    • Paul Mackerras's avatar
      powerpc: Fix i8259 cascade on pSeries with XICS interrupt controller · 8b1af56b
      Paul Mackerras authored
      It turns out that commit f9bd170a
      
      
      broke the cascade from XICS to i8259 on pSeries machines; specifically
      we ended up not ever doing the EOI on the XICS for the cascade.  The
      result was that interrupts from the serial ports (and presumably any
      other devices using ISA interrupts) didn't get through.  This fixes
      it and also simplifies the code, by doing the EOI on the XICS in the
      xics_get_irq routine after reading and acking the interrupt on the
      i8259.
      
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      8b1af56b
    • Hans Verkuil's avatar
      V4L/DVB (3191): Fix CC output · 515432aa
      Hans Verkuil authored
      
      
      - CC data was swapped the wrong way around.
      - Enabling CC disabled XDS and vice versa: these two should
      be independent from one another.
      
      Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
      515432aa