22 Mar, 2010

1 commit


05 Nov, 2009

1 commit

  • This cleanup patch puts struct/union/enum opening braces,
    in first line to ease grep games.

    struct something
    {

    becomes :

    struct something {

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     

08 Oct, 2009

1 commit

  • Fix build error introduced in commit fa857afcf - ipv6 sit: 6rd
    (IPv6 Rapid Deployment) Support. Struct in6_addr is the issue.
    I'm only seeing this on x86_64 systems, not on 32-bit with same
    IPv6 config options, so it could be there's a missing forward
    declaration somewhere, but including the correct header file
    fixes the problem too.

    CC [M] net/ipv6/ip6_tunnel.o
    In file included from net/ipv6/ip6_tunnel.c:31:
    include/linux/if_tunnel.h:59: error: field ‘prefix’ has incomplete type
    make[2]: *** [net/ipv6/ip6_tunnel.o] Error 1
    make[1]: *** [net/ipv6] Error 2

    Signed-off-by: Brian Haley
    Signed-off-by: David S. Miller

    Brian Haley
     

07 Oct, 2009

1 commit

  • IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
    mechanisms of 6to4 (RFC3056) to enable a service provider to rapidly
    deploy IPv6 unicast service to IPv4 sites to which it provides
    customer premise equipment. Like 6to4, it utilizes stateless IPv6 in
    IPv4 encapsulation in order to transit IPv4-only network
    infrastructure. Unlike 6to4, a 6rd service provider uses an IPv6
    prefix of its own in place of the fixed 6to4 prefix.

    With this option enabled, the SIT driver offers 6rd functionality by
    providing additional ioctl API to configure the IPv6 Prefix for in
    stead of static 2002::/16 for 6to4.

    Original patch was done by Alexandre Cassen
    based on old Internet-Draft.

    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki / 吉藤英明
     

27 Sep, 2009

1 commit

  • This reverts commit 645069299a1c7358cf7330afe293f07552f11a5d.

    While the code does not actually break anything, it does not completely follow
    RFC5214 yet. After talking back with Fred L. Templin, I agree that completing the
    ISATAP specific RS/RA code, would pollute the kernel a lot with code that is better
    implemented in userspace.

    The kernel should not send RS packages for ISATAP at all.

    Signed-off-by: Sascha Hlusiak
    Acked-by: Fred L. Templin
    Signed-off-by: David S. Miller

    Sascha Hlusiak
     

20 May, 2009

1 commit

  • be sent periodically. The rs_delay can be speficied when adding the
    PRL entry and defaults to 15 minutes.

    The RS is sent from every link local adress that's assigned to the
    tunnel interface. It's directed to the (guessed) linklocal address
    of the router and is sent through the tunnel.

    Better: send to ff02::2 encapsuled in unicast directed to router-v4.

    Signed-off-by: Sascha Hlusiak
    Signed-off-by: David S. Miller

    Sascha Hlusiak
     

15 Feb, 2009

1 commit


03 Feb, 2009

1 commit

  • Reported by Andrew Walrond

    Changeset c19e654ddbe3831252f61e76a74d661e1a755530
    ("gre: Add netlink interface") added an include
    of linux/ip.h to linux/if_tunnel.h

    We can't really let that get exposed to userspace
    because this conflicts with types defined in netinet/ip.h
    which userland is almost certainly going to have included
    either explicitly or implicitly.

    So guard this include with a __KERNEL__ ifdef.

    Signed-off-by: David S. Miller

    David S. Miller
     

10 Oct, 2008

1 commit

  • This patch adds a netlink interface that will eventually displace
    the existing ioctl interface. It utilises the elegant rtnl_link_ops
    mechanism.

    This also means that user-space no longer needs to rely on the
    tunnel interface being of type GRE to identify GRE tunnels. The
    identification can now occur using rtnl_link_ops.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     

17 Jun, 2008

1 commit

  • We've introduced extra need of compat layer for ip_tunnel_prl{}
    for PRL (Potential Router List) management. Though compat_ioctl
    is still missing in ipv4/ipv6, let's make the interface more
    straight-forward and eliminate extra need for nasty compat layer
    anyway since the interface is new for 2.6.26.

    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: David S. Miller

    YOSHIFUJI Hideaki
     

03 Apr, 2008

2 commits


29 Jan, 2008

1 commit

  • This patch includes support for the Intra-Site Automatic Tunnel
    Addressing Protocol (ISATAP) per RFC4214. It uses the SIT
    module, and is configured using extensions to the "iproute2"
    utility. The diffs are specific to the Linux 2.6.24-rc2 kernel
    distribution.

    This version includes the diff for ./include/linux/if.h which was
    missing in the v2.4 submission and is needed to make the
    patch compile. The patch has been installed, compiled and
    tested in a clean 2.6.24-rc2 kernel build area.

    Signed-off-by: Fred L. Templin
    Signed-off-by: YOSHIFUJI Hideaki
    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Fred L. Templin
     

24 Jan, 2007

1 commit

  • include/linux/if_tunnel.h is broken for user application
    because it was changed to use __be32 which is required
    to include linux/types.h in advance but didn't.

    (This issue is found when building MIPL2 daemon. We are not sure this
    is the last header to be fixed about __be32.)

    Signed-off-by: Masahide NAKAMURA
    Signed-off-by: TAKAMIYA Noriaki
    Signed-off-by: David S. Miller

    Masahide NAKAMURA
     

03 Dec, 2006

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds