- 12 Sep, 2002 4 commits
-
-
Arnaldo Carvalho de Melo authored
Also only unassign the sock from the sap if the socket is not zapped, because autobind can fail, leaving it unassigned... Noticed with llcping/llcpingd from Jay, that I'm using now to test PF_LLC SOCK_DGRAM (xid, test, ui). Also add more debugging calls, disabled by default in mainline.
-
Arnaldo Carvalho de Melo authored
-
Arnaldo Carvalho de Melo authored
This one fixes a skb leak in disconnection notification.
-
Arnaldo Carvalho de Melo authored
-
- 11 Sep, 2002 12 commits
-
-
Arnaldo Carvalho de Melo authored
. Bzzzt, rest in peace LLC_DATA_PRIM. We won't miss you. . In the process I also killed sap->resp and all of the functions it was calling, the Procom guys left this in the codebase but _nobody_ was actually using it.
-
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.
-
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.
-
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.
-
Arnaldo Carvalho de Melo authored
-
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
-
Arnaldo Carvalho de Melo authored
-
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 :-)
-
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.
-
Arnaldo Carvalho de Melo authored
also remove tests against SOCK_SEQPACKET, it is not supported in llc_ui_create.
-
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
-
Arnaldo Carvalho de Melo authored
. dprintk already puts the log level . fix some comments to match new behaviour
-
- 05 Sep, 2002 6 commits
-
-
Petr Vandrovec authored
It is nice that blkdev_ioctl calls blk_ioctl itself, but unfortunately it does that only if driver's ioctl returns -EINVAL - and IDE returns -EIO :-( Patch below is tested for disks - I do not have IDE floppy nor IDE tape.
-
Linus Torvalds authored
of something arch-dependent and usually less. We may want to do value limiting in generic_fillattr() if people end up caring.
-
Ingo Molnar authored
This is the pid-max patch, the one i sent for 2.5.31 was botched. I have removed the 'once' debugging stupidity - now PIDs start at 0 again. Also, for an unknown reason the previous patch missed the hunk that had the declaration of 'DEFAULT_PID_MAX' which made it not compile ...
-
Ingo Molnar authored
This contains Daniel's suggested fix that allows a parent to PTRACE_ATTACH to a child it forked. That fixes the incorrect BUG_ON() assert that Ogawa's patch was intended to fix, and we thus undo Ogawa's patch. I've tested various ptrace uses and they appear to work just fine.
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Kai Germaschewski authored
We want do so on all architectures for consistency, and i386 will need the preprocessing soon anyway.
-
- 04 Sep, 2002 8 commits
-
-
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.
-
David Mosberger authored
Tthis one seems to have been around since 2.5.31 and nobody has fixed it yet...
-
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
-
bk://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
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.
-
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.
-
Matthew Wilcox authored
Unify the PCI device ID constants used by AGP with the normal Linux ones.
-
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.)
-
- 05 Sep, 2002 10 commits
-
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
to the bottom of the aux table.
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
into au1.ibm.com:/fuego/paulus/kernel/for-linus-ppc
-
Paul Mackerras authored
-
Paul Mackerras authored
-