- 07 Aug, 2008 1 commit
-
-
Krzysztof Halasa authored
Remove extra help text from HDLC_PPP config option. Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 21 Jul, 2008 1 commit
-
-
Greg Kroah-Hartman authored
device_create() is race-prone, so use the race-free device_create_drvdata() instead as device_create() is going away. Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 20 Jul, 2008 1 commit
-
-
Alan Cox authored
Move the line disciplines towards a conventional ->ops arrangement. For the moment the actual 'tty_ldisc' struct in the tty is kept as part of the tty struct but this can then be changed if it turns out that when it all settles down we want to refcount ldiscs separately to the tty. Pull the ldisc code out of /proc and put it with our ldisc code. Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 14 Jul, 2008 1 commit
-
-
Johann Felix Soden authored
This patch removes references in drivers/net/wan/Kconfig and net/wanrouter/Kconfig to Documentation/networking/wan-router.txt which was removed in commit 99971e70 ("[WANPIPE]: Forgotten bits of Sangoma drivers removal."). Signed-off-by:
Johann Felix Soden <johfel@users.sourceforge.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 04 Jul, 2008 3 commits
-
-
Krzysztof Halasa authored
Remove no longer needed struct pvc_desc in FR code. Requires "WAN: convert drivers to use built-in netdev_stats" patch. Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Krzysztof Halasa authored
There is no point in using separate net_device_stats structs when the one in struct net_device is present. Compiles. Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Krzysztof Halasa authored
Commit 4c13eb66 ([ETH]: Make eth_type_trans set skb->dev like the other *_type_trans) removed skb->dev assignment from hdlc_fr.c:fr_rx(). Unfortunately it was also needed for cases other than eth_type_trans(). Adding it back. It's quite serious and may be a security risk as it causes a wrong input interface indication (the physical hdlcX instead of logical pvcX). Probably -stable class fix. Signed-off-by:
Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 26 Jun, 2008 1 commit
-
-
Ben Hutchings authored
dev_close() must be called holding the RTNL. Compile-tested only. Signed-off-by:
Ben Hutchings <bhutchings@solarflare.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 22 May, 2008 2 commits
-
-
Krzysztof Halasa authored
WAN: protect protocol list in hdlc.c with RTNL. Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Krzysztof Halasa authored
Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 18 May, 2008 1 commit
-
-
Jonathan Corbet authored
Signed-off-by:
Jonathan Corbet <corbet@lwn.net>
-
- 12 May, 2008 1 commit
-
-
David S. Miller authored
The syncppp layer wants a mid-level netdev private pointer. It was using netdev->priv but that only worked by accident, and thus this scheme was broken when the device private allocation strategy changed. Add a proper mid-layer private pointer for uses like this, update syncppp and all users, and remove the HDLC_PPP broken tag from drivers/net/wan/Kconfig Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 03 May, 2008 1 commit
-
-
David S. Miller authored
Otherwise it leaks forever. Based upon a report by Roland <devzero@web.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 30 Apr, 2008 2 commits
-
-
Alan Cox authored
- Operations are now a shared const function block as with most other Linux objects - Introduce wrappers for some optional functions to get consistent behaviour - Wrap put_char which used to be patched by the tty layer - Document which functions are needed/optional - Make put_char report success/fail - Cache the driver->ops pointer in the tty as tty->ops - Remove various surplus lock calls we no longer need - Remove proc_write method as noted by Alexey Dobriyan - Introduce some missing sanity checks where certain driver/ldisc combinations would oops as they didn't check needed methods were present [akpm@linux-foundation.org: fix fs/compat_ioctl.c build] [akpm@linux-foundation.org: fix isicom] [akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build] [akpm@linux-foundation.org: fix kgdb] Signed-off-by:
Alan Cox <alan@redhat.com> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de> Cc: Jason Wessel <jason.wessel@windriver.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Alan Cox authored
This driver somehow escaped the tty operations changes way back when. Update it so that we can switch to tty->ops shortly. Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 25 Apr, 2008 2 commits
-
-
Krzysztof Halasa authored
Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Cédric Augonnet authored
The local variable "prefix" is never used anymore, and the content of this string appears a bit later, directly in a call to "alloc_netdev" after doing exactly the same if/else test. So there seems to be no point keeping those 4 lines anymore. Signed-off-by:
Cédric Augonnet <cedric.augonnet@ens-lyon.org> Signed-off-by:
Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 12 Apr, 2008 1 commit
-
-
Krzysztof Halasa authored
PPP support in generic HDLC in Linux 2.6.25 is broken and will cause a kernel panic when a device configured in PPP mode is activated. It will be replaced by new PPP implementation after Linux 2.6.25 is released. This affects only PPP support in generic HDLC (mostly Hitachi SCA and SCA-II based drivers, wanxl, and few others). Standalone syncppp and async PPP support are not affected. Signed-off-by:
Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 28 Mar, 2008 1 commit
-
-
Robert P. J. Day authored
Signed-off-by:
Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 25 Mar, 2008 1 commit
-
-
YOSHIFUJI Hideaki authored
Introduce per-net_device inlines: dev_net(), dev_net_set(). Without CONFIG_NET_NS, no namespace other than &init_net exists. Let's explicitly define them to help compiler optimizations. Signed-off-by:
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
-
- 17 Mar, 2008 1 commit
-
-
Al Viro authored
kmalloc intermediate buffer(), do copy_from_user() + memcpy_toio() Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- 05 Mar, 2008 2 commits
-
-
Matthias Kaehlcke authored
COSA/SRP driver: The semaphore channel_data.rsem is used as a mutex, convert it to the mutex API Signed-off-by:
Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Harvey Harrison authored
Signed-off-by:
Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 10 Feb, 2008 1 commit
-
-
S.Çağlar Onur authored
Commit 11b0cc3a ("x25_asy: Fix ref count rule violation") introduced the warning drivers/net/wan/x25_asy.c: In function `x25_asy_open_tty': drivers/net/wan/x25_asy.c:557: warning: unused variable `ld' Signed-off-by:
S.Çağlar Onur <caglar@pardus.org.tr> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 08 Feb, 2008 1 commit
-
-
Alan Cox authored
x25_asy does not take an ldisc reference before calling the flush method. Fix it to use the helper function we provide. Signed-off-by:
Alan Cox <alan@redhat.com> Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 05 Feb, 2008 3 commits
-
-
Krzysztof Halasa authored
Generic HDLC now uses random_ether_addr() for generating MAC addresse for Ethernet-alike interfaces. Signed-off-by:
Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Krzysztof Halasa authored
Removes now unneeded struct hdlc_device_desc Signed-off-by:
Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Krzysztof Halasa authored
Fixes kernel panic in Frame Relay mode Signed-off-by:
Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- 03 Feb, 2008 1 commit
-
-
Paulius Zaleckas authored
Signed-off-by:
Paulius Zaleckas <pauliusz@yahoo.com> Signed-off-by:
Adrian Bunk <bunk@kernel.org>
-
- 28 Jan, 2008 4 commits
-
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Joe Perches authored
Signed-off-by:
Joe Perches <joe@perches.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jeff Garzik authored
* use irq_handler_t where appropriate * no need to use 'irq' function arg, its already stored in a data struct * rename irq handler 'irq' argument to 'dummy', where the function has been analyzed and proven not to use its first argument. * remove always-false "dev_id == NULL" test from irq handlers * remove pointless casts from void* * declance: irq argument is not const * add KERN_xxx printk prefix * fix minor whitespace weirdness Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 24 Jan, 2008 1 commit
-
-
Tony Jones authored
struct class_device is going away, this converts the code to use struct device instead. Signed-off-by:
Tony Jones <tonyj@suse.de> Cc: Jan "Yenya" Kasprzak <kas@fi.muni.cz> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 18 Jan, 2008 3 commits
-
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- 22 Dec, 2007 1 commit
-
-
Al Viro authored
skb->protocol is net-endian, TYVM... Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- 14 Dec, 2007 1 commit
-
-
Al Viro authored
* trivial annotations * long != 32bit, use __be32 * wrong endianness in sending CISCO_ADDR_REPLY Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 07 Nov, 2007 1 commit
-
-
Alan Cox authored
We conciously make a change here - we permit mode and speed setting to be done in things like SLIP mode. There isn't actually a technical reason to disallow this. It's usually a silly thing to do but we can do it and soemone might wish to do so. Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-