1. 16 Nov, 2012 3 commits
    • Nicolas Dichtel's avatar
      ipv6: export IP6_RT_PRIO_* to userland · 130cd273
      Nicolas Dichtel authored
      The kernel uses some default metric when routes are managed. For example, a
      static route added with a metric set to 0 is inserted in the kernel with
      metric 1024 (IP6_RT_PRIO_USER).
      It is useful for routing daemons to know these values, to be able to set routes
      without interfering with what the kernel does.
      Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      130cd273
    • Vlad Yasevich's avatar
      ipv6: Fix build error with udp_offload · d4d0d355
      Vlad Yasevich authored
      Add ip6_checksum.h include.  This should resolve the following issue
      that shows up on power:
      
      net/ipv6/udp_offload.c: In function 'udp6_ufo_send_check':
      net/ipv6/udp_offload.c:29:2: error: implicit declaration of function
      'csum_ipv6_magic' [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d4d0d355
    • Vlad Yasevich's avatar
      net: Make IPv6 build depend on CONFIG_INET · 751a97d7
      Vlad Yasevich authored
      IPv6 build selection currently controlled by CONFIG_NET, so it is
      possible to build IPv6 functinality without selectiona any TCP/IP
      features (CONFIG_INET).  Make IPv6 be consistent with IPv4.
      
      This should resolve the following issue:
      
      net/built-in.o: In function `tcp6_gro_complete':
      tcpv6_offload.c:(.text+0x3d045): undefined reference to
      `tcp_gro_complete'
      net/built-in.o: In function `tcp6_gro_receive':
      tcpv6_offload.c:(.text+0x3d19b): undefined reference to
      `tcp_gro_receive'
      net/built-in.o: In function `ipv6_exthdrs_offload_init':
      (.init.text+0x118b): undefined reference to `inet_del_offload'
      net/built-in.o:(.rodata+0x1c58): undefined reference to
      `tcp_tso_segment'
      Signed-off-by: default avatarVlad Yasevich <vyasvic@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      751a97d7
  2. 15 Nov, 2012 37 commits