04 Sep, 2013

9 commits


03 Sep, 2013

3 commits

  • Fengguang reported:

    net/built-in.o: In function `in6_dev_finish_destroy':
    (.text+0x4ca7d): undefined reference to `snmp_mib_free'

    this is due to snmp_mib_free() is defined when CONFIG_INET is enabled,
    but in6_dev_finish_destroy() is now moved to core kernel.

    I think snmp_mib_free() is small enough to be inlined, so just make it
    static inline.

    Reported-by: kbuild test robot
    Signed-off-by: Cong Wang
    Signed-off-by: David S. Miller

    Cong Wang
     
  • Fengguang reported a compile warning:

    drivers/net/vxlan.c: In function 'vxlan6_xmit_skb':
    drivers/net/vxlan.c:1352:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors

    this patch fixes it.

    Reported-by: kbuild test robot
    Signed-off-by: Cong Wang
    Signed-off-by: David S. Miller

    Cong Wang
     
  • It should be IPPROTO_UDP.

    Signed-off-by: Cong Wang
    Signed-off-by: David S. Miller

    Cong Wang
     

01 Sep, 2013

24 commits


31 Aug, 2013

4 commits

  • By default, the pfifo_fast queue discipline has been used by default
    for all devices. But we have better choices now.

    This patch allow setting the default queueing discipline with sysctl.
    This allows easy use of better queueing disciplines on all devices
    without having to use tc qdisc scripts. It is intended to allow
    an easy path for distributions to make fq_codel or sfq the default
    qdisc.

    This patch also makes pfifo_fast more of a first class qdisc, since
    it is now possible to manually override the default and explicitly
    use pfifo_fast. The behavior for systems who do not use the sysctl
    is unchanged, they still get pfifo_fast

    Also removes leftover random # in sysctl net core.

    Signed-off-by: Stephen Hemminger
    Acked-by: Eric Dumazet
    Signed-off-by: David S. Miller

    stephen hemminger
     
  • My static checker complains that on some arches unsigned longs can be 8
    characters which is larger than the buffer is only 6 chars.
    Additionally, Ben Hutchings points out that the buffer actually holds
    big endian data and the buffer we are reading from is CPU endian.

    Signed-off-by: Dan Carpenter
    Reviewed-by: Ben Hutchings
    Signed-off-by: David S. Miller

    Dan Carpenter
     
  • Use the wrapper function for retrieving the platform data instead of
    accessing dev->platform_data directly. This is a cosmetic change
    to make the code simpler and enhance the readability.

    Signed-off-by: Jingoo Han
    Signed-off-by: David S. Miller

    Jingoo Han
     
  • Use the wrapper function for retrieving the platform data instead of
    accessing dev->platform_data directly. This is a cosmetic change
    to make the code simpler and enhance the readability.

    Signed-off-by: Jingoo Han
    Acked-by: Nicolas Ferre
    Signed-off-by: David S. Miller

    Jingoo Han