04 Jun, 2008

1 commit


15 May, 2008

1 commit


14 May, 2008

1 commit


03 May, 2008

1 commit


30 Apr, 2008

1 commit

  • - 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
    Acked-by: Greg Kroah-Hartman
    Cc: Jason Wessel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     

29 Apr, 2008

1 commit

  • Probably interface misuse, because of the way iterating over hashbin is done.
    However! Printing of socket number ("IrNET socket %d - ", i++") made conversion
    to proper ->start/->next difficult enough to do blindly without hardware.
    Said that, please apply.

    Remove useless comment while I am it.

    Signed-off-by: Alexey Dobriyan
    Cc: Samuel Ortiz
    Cc: "David S. Miller"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

15 Apr, 2008

1 commit

  • Even kernel 2.2.26 (sic) already contains the
    #undef CONFIG_IRLAN_SEND_GRATUITOUS_ARP
    with the comment "but for some reason the machine crashes if you use DHCP".

    Either someone finally looks into this or it's simply time to remove
    this dead code.

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: David S. Miller

    Adrian Bunk
     

28 Mar, 2008

1 commit


26 Mar, 2008

3 commits


06 Mar, 2008

1 commit


01 Mar, 2008

1 commit


29 Jan, 2008

7 commits

  • By default, LMP sets up a 3 seconds timer for discovery.
    We don't need it until discovery is set to 1.

    Signed-off-by: Ross Burton
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Ross Burton
     
  • This patch removes IrPORT and the old dongle drivers (all off them
    have replacement drivers).

    Signed-off-by: Adrian Bunk
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Adrian Bunk
     
  • When using a stir4200-based USB adaptor to talk to a device that uses
    an mcp2150, the stir4200 sometimes drops an incoming frame causing the
    mcp2150 to try and retransmit the lost frame. In this combination, the
    next frame received from the mcp2150 is often invalid - either an
    empty i:rsp or an IrCOMM i:rsp with an invalid clen. These corner
    cases are now checked.

    Signed-off-by: Robie Basak
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Robie Basak
     
  • When final timer expires, it might also mean that the i:cmd wasn't
    received properly. If we have rejected frames, we can try to resend them.

    Signed-off-by: Robie Basak
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Robie Basak
     
  • This patch includes many places, that only required
    replacing the ctl_table-s with appropriate ctl_paths
    and call register_sysctl_paths().

    Nothing special was done with them.

    Signed-off-by: Pavel Emelyanov
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     
  • Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     
  • Many-many code in the kernel initialized the timer->function
    and timer->data together with calling init_timer(timer). There
    is already a helper for this. Use it for networking code.

    The patch is HUGE, but makes the code 130 lines shorter
    (98 insertions(+), 228 deletions(-)).

    Signed-off-by: Pavel Emelyanov
    Acked-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     

21 Jan, 2008

1 commit

  • Here goes an IrDA patch against your latest net-2.6 tree.

    This patch fixes some af_irda memory leaks. It also checks for
    irias_new_obect() return value.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Jesper Juhl
     

09 Jan, 2008

1 commit


21 Dec, 2007

1 commit


17 Dec, 2007

2 commits

  • This patch fixes:
    CHECK /home/kernel/src/net/irda/parameters.c
    /home/kernel/src/net/irda/parameters.c:466:2: warning: Using plain integer as NULL pointer
    /home/kernel/src/net/irda/parameters.c:520:2: warning: Using plain integer as NULL pointer
    /home/kernel/src/net/irda/parameters.c:573:2: warning: Using plain integer as NULL pointer

    Signed-off-by: Richard Knutsson
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Richard Knutsson
     
  • While testing the mcs7780 based IrDA USB dongle I've stumbled upon
    memory leak in irlmp_unregister_link(). Hashbin for lsaps is created in
    irlmp_register_link and should probably be freed in irlmp_unregister_link().

    Signed-off-by: Hinko Kocevar
    Signed-off-by: Samuel Ortiz
    Signed-off-by: David S. Miller

    Hinko Kocevar
     

05 Dec, 2007

1 commit


22 Nov, 2007

1 commit


20 Nov, 2007

1 commit


01 Nov, 2007

2 commits


26 Oct, 2007

1 commit


20 Oct, 2007

3 commits


19 Oct, 2007

2 commits

  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (51 commits)
    [IPV6]: Fix again the fl6_sock_lookup() fixed locking
    [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix
    [IPV6]: Fix race in ipv6_flowlabel_opt() when inserting two labels
    [IPV6]: Lost locking in fl6_sock_lookup
    [IPV6]: Lost locking when inserting a flowlabel in ipv6_fl_list
    [NETFILTER]: xt_sctp: fix mistake to pass a pointer where array is required
    [NET]: Fix OOPS due to missing check in dev_parse_header().
    [TCP]: Remove lost_retrans zero seqno special cases
    [NET]: fix carrier-on bug?
    [NET]: Fix uninitialised variable in ip_frag_reasm()
    [IPSEC]: Rename mode to outer_mode and add inner_mode
    [IPSEC]: Disallow combinations of RO and AH/ESP/IPCOMP
    [IPSEC]: Use the top IPv4 route's peer instead of the bottom
    [IPSEC]: Store afinfo pointer in xfrm_mode
    [IPSEC]: Add missing BEET checks
    [IPSEC]: Move type and mode map into xfrm_state.c
    [IPSEC]: Fix length check in xfrm_parse_spi
    [IPSEC]: Move ip_summed zapping out of xfrm6_rcv_spi
    [IPSEC]: Get nexthdr from caller in xfrm6_rcv_spi
    [IPSEC]: Move tunnel parsing for IPv4 out of xfrm4_input
    ...

    Linus Torvalds
     
  • Grumble. These numbers should have been in sysctl.h from the beginning if we
    ever expected anyone to use them. Oh well put them there now so we can find
    them and make maintenance easier.

    Signed-off-by: Eric W. Biederman
    Acked-by: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     

18 Oct, 2007

1 commit

  • From: Ryan Reading

    Every IrCOMM socket is registered with the discovery subsystem, so we don't
    need to loop over all of them for every discovery event. We just need to
    do it for the registered IrCOMM socket.

    Signed-off-by: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Ryan Reading
     

11 Oct, 2007

3 commits