1. 06 Aug, 2003 4 commits
    • 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
  6. 05 Aug, 2003 2 commits