1. 06 Aug, 2003 6 commits
    • David S. Miller's avatar
      Merge http://linux-lksctp.bkbits.net/lksctp-2.5 · f6578e8d
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      f6578e8d
    • Stephen Hemminger's avatar
      [NET] X.25 async net_device fixup · aa2b4427
      Stephen Hemminger authored
      Convert X.25 async driver to have dynamic net_device's.
      This driver is a lot like SLIP so the code changes were similar.  
              - Added similar locking to SLIP
              - replaced code that snooped for MTU changes with the
                net_device change mtu callback.
              - cleaned up the statistics by using the net_device_stats structure.
      
      Patch is against 2.6.0-test2.
      
      Not sure if anyone ever uses this.  I tested by bringing up an x.25 async
      line using a modified version of slattach.
      aa2b4427
    • Stephen Hemminger's avatar
      [NET] Fix X.25 use after free. · ee1dc142
      Stephen Hemminger authored
      The conversion from cli/sti to locking in X.25 must not have been tested
      on a real SMP with memory debugging enabled.  It OOPS right away if
      I do:
              modprobe x25; ifconfig -a
      
      The problem is that it dereferences the socket after it has already been
      freed.  The fix for this is to make the call to sock_put, later in
      x25_destroy_socket do the free.  Also, need a go to avoid references
      in x25_release.
      ee1dc142
    • Stephen Hemminger's avatar
      [NET] Fix use after free in AX.25 · ca8c5e0e
      Stephen Hemminger authored
      This patch is against 2.6.0-test2.  The problem is that the ax25_destroy_socket
      function frees the socket buffer, but then ax25_release dereferences this causing
      an OOPS.  To reproduce:
              modprobe ax25; ifconfig -a
      
      Replaced sk_free with sock_put which will free if this is the last reference.
      ca8c5e0e
    • Stephen Hemminger's avatar
      [NET] Convert ROSE to seq_file · bdba9fe9
      Stephen Hemminger authored
      The existing ROSE /proc interface has no module owner, and doesn't check for
      bounds overflow.  Easier to just convert it to the seq_file wrapper functions.
      
      This patch is against 2.6.0-test2 (offsets assume earlier patch).
      bdba9fe9
    • Stephen Hemminger's avatar
      [NET] Dynamically allocate net_device structures for ROSE · 6ae0b08d
      Stephen Hemminger authored
      This patch changes the ROSE protocol to allocate an array of pointers and each network device
      separately.  This sets up later change where network_device object's are released on last use
      which may be after the module is unloaded.
      
      The patch is against 2.6.0-test2 (though this code hasn't changed in a long time).
      
      
      Allocation is done via alloc_netdev so the dev->priv area is already reserved and
      doesn't need to be allocated separately. 
      6ae0b08d
  2. 05 Aug, 2003 29 commits
  3. 06 Aug, 2003 1 commit
  4. 05 Aug, 2003 3 commits
  5. 06 Aug, 2003 1 commit