1. 11 Sep, 2002 11 commits
    • Arnaldo Carvalho de Melo's avatar
      LLC: llc_lookup_listener · 209fb681
      Arnaldo Carvalho de Melo authored
      With this LLC_CONN_PRIM and friends went to the death row, next
      patch will introduce llc_establish_connection, turning on the
      electric chair switch for LLC_CONN_PRIM et al.
      209fb681
    • Arnaldo Carvalho de Melo's avatar
      [LLC] use just one struct sock per connection · 269f04b7
      Arnaldo Carvalho de Melo authored
      With this PF_LLC is tightly integrated with the core and that is a
      good thing 8)
      
      . kill llc_ui_opt, the only non-duplicated bit is struct sockaddr_llc
        and this now lives in llc_opt
      . remove debug code from llc_sk_alloc/free (previously llc_sock_alloc/free)
      . the skbs allocated for event processing don't need to have any payload
        at all, just the skb->cb is enough, so remove the bogus 1 from alloc_skb
        calls
      . llc_conn_disc put on death row
      . llc_process_tmr_ev callers have to hold the socket lock
      . the request functions in llc_if.c doesn't hold the socket lock anymore
        its up to its callers on the socket layer (llc_sock.c)
      . llc_sk_alloc now receives a priority for sk_alloc call and is the
        only way to alloc a new sock (from llc_mac and llc_sock, bottom and top)
      . added the traditional struct sock REFCNT_DEBUG support for llc
      . llc_sock was simplified and is on the zen route to cleanliness, wait for
        the next patches, it'll shrink a lot when I zap all the crap (as in
        not needed) list handling, using the existing list maintained in
        struct llc_sap for that, probably splitting it in two, one for listening
        sockets and other for (being) established ones.  Ah, and the sap->ind
        and sap->req and friends will die.
      269f04b7
    • Arnaldo Carvalho de Melo's avatar
      [LLC] turn tons of simple pdu functions into returning void · ebf9bc77
      Arnaldo Carvalho de Melo authored
      All of those functions cannot possibly fail, so there is no
      point in always returning 0. I'll probably turn all of them
      into inlines in the future too.
      ebf9bc77
    • Arnaldo Carvalho de Melo's avatar
      3c611730
    • Arnaldo Carvalho de Melo's avatar
      [LLC] llc_ui_wait_for_data and socket locking fixes · a3571512
      Arnaldo Carvalho de Melo authored
      . now llc_ui_accept uses llc_ui_wait_for_data (llc_ui_recvmsg probably
        will use it too, we'll see)
      . all the llc_ui_wait_for_ now receive the timeout in jiffies, not
        in seconds
      . use sk_rcvtimeo()
      . release_sock before going to sleep in the llc_ui_wait_for functions
      . llc_ui_release has to get the socket lock
      a3571512
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
      LLC: kill llc_prim_data and LLC_PRIM_DATA for sap->ind() and sap->conf() · c3be6700
      Arnaldo Carvalho de Melo authored
      On the road to kill all prims, llc_prim_data bits the dust, now
      the core queues the data directly and takes care of the conf semantics,
      i.e. waking up the upper layer when the confirmation arrives. Maybe I'll
      have to put more info on skb->cb for conf and ind, but for PF_LLC this is
      enough for now. Have to check NetBEUI tho. But we can always add back
      removed features, better than having features that nobody uses :-)
      c3be6700
    • Arnaldo Carvalho de Melo's avatar
      LLC: llc_build_and_send_pkt · c34311f7
      Arnaldo Carvalho de Melo authored
      Rename llc_data_req_handler with llc_build_and_send_pkt, following my
      plan to have LLC look more like TCP/IP and to slowly remove all the ugly
      prim types and sap->{req,ind,conf}.
      
      No problems with Appletalk up to now as it only uses UI and I'm up to
      now only concentrating on connection mode, so that we can remove all
      the duplicated work in core and PF_LLC.
      c34311f7
    • Arnaldo Carvalho de Melo's avatar
      LLC: sys_listen already checks for backlog > SOMAXCONN · 0e81329b
      Arnaldo Carvalho de Melo authored
      also remove tests against SOCK_SEQPACKET, it is not supported
      in llc_ui_create.
      0e81329b
    • Arnaldo Carvalho de Melo's avatar
      LLC: tcpfying the beast · a7f3da32
      Arnaldo Carvalho de Melo authored
      . s/mac_indicate/llc_rcv/g
      . s/llc_sap_send_ev/llc_sap_state_process/g
      . s/llc_station_send_ev/llc_station_state_process/g
      . s/llc_conn_send_ev/llc_conn_state_process/g
      . fix some comments wrt current behaviour
      . s/llc_find_sock/llc_lookup_established/g
      . llc_sock_alloc now receives the protocol family as a
        parameter, will be used by llc_lookup_listener to
        properly handle multiple upper layer protocols
      . s/inline/__inline__/g
      a7f3da32
    • Arnaldo Carvalho de Melo's avatar
      LLC: small cleanups, leave debug on for a while · b0d8626b
      Arnaldo Carvalho de Melo authored
      . dprintk already puts the log level
      . fix some comments to match new behaviour
      b0d8626b
  2. 05 Sep, 2002 6 commits
  3. 04 Sep, 2002 8 commits
    • Albert Cranford's avatar
      [PATCH] 2.5.33 i2c-proc.c remove inode_fill code · 4ca112a6
      Albert Cranford authored
      My previous patch added procs i2c_fill_inode and i2c_dir_fill_inode that
      Al Viro deemed unnecessary.  i2c developers are in contact with Al to
      get the latest scoop.  Meantime lets reverse the change before he flies
      off at me about procfs abuse.
      4ca112a6
    • David Mosberger's avatar
      [PATCH] trivial Makefile fix · 1114b497
      David Mosberger authored
      Tthis one seems to have been around since 2.5.31 and nobody has fixed it
      yet...
      1114b497
    • Andrea Arcangeli's avatar
      [PATCH] Missing acess_ok() check in aio · 0b2883e4
      Andrea Arcangeli authored
      BTW, while merging aio from 2.5 to 2.4 and fixing and porting the libaio
      (in particular thanks to one of Ben's testcases that was checkin for
      this specific case) I found this bug in 2.5
      0b2883e4
    • Linus Torvalds's avatar
      Merge bk://jfs.bkbits.net/linux-2.5 · e61eb888
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e61eb888
    • Alexander Viro's avatar
      [PATCH] IDE cleanups (2.5; similar to ones done for other drivers) · 99db2bb5
      Alexander Viro authored
      	OK, before the next bunch of gendisk merges, here comes a couple
      of 2.5 IDE cleanups.
      
      	a) exclusion between rereading partition tables and open() is done
      in fs/block_dev.c these days, so homegrown one in ide.c is redundant - that
      code _never_ blocks now.  Removed, just as it had been done with counterparts
      in other drivers.
      
      	b) blk_ioctl() calls are done in blkdev_ioctl() now; driver doesn't
      need to handle them.  Again, removed as it had been done in all other drivers.
      99db2bb5
    • Linus Torvalds's avatar
      Fix IO-APIC edge IRQ handling. IRQ_INPROGRESS was cleared spuriously · e42e97d6
      Linus Torvalds authored
      if a new edge happened while we were still processing the previous
      one.
      
      Then, if a _third_ edge came in, it would actually cause a reentrant
      irq handler invocation, because the original INPROGRESS bit was now
      lost.
      
      This was actually seen on IDE in PIO mode.
      e42e97d6
    • Matthew Wilcox's avatar
      [PATCH] move AGP PCI defines to pci_ids.h · 863032a9
      Matthew Wilcox authored
      Unify the PCI device ID constants used by AGP with the normal Linux ones.
      863032a9
    • Paul Mackerras's avatar
      [PATCH] fix create_elf_tables on PPC · 6860f192
      Paul Mackerras authored
      create_elf_tables in fs/binfmt_elf.c now sets up the list of aux table
      entries in a buffer on the kernel stack before copying it to the user
      stack.
      
      Unfortunately, while the buffer is big enough for most architectures, it
      isn't big enough on PPC, which uses 5 extra aux table entries (put on
      with ARCH_DLINFO).  The following patch increases the buffer to be big
      enough for PPC.  (Note that each aux table entry uses two elements of
      the elf_info array.)
      6860f192
  4. 05 Sep, 2002 10 commits
  5. 04 Sep, 2002 1 commit
  6. 03 Sep, 2002 4 commits