Skip to content
  1. Feb 22, 2019
  2. Feb 21, 2019
  3. Feb 20, 2019
  4. Feb 19, 2019
    • Peter Oskolkov's avatar
      6lowpan: use rbtree for IP frag queue · 254c5dbe
      Peter Oskolkov authored
      This patch aligns IP defragmenation logic in 6lowpan with that
      of IPv4 and IPv6: see
      commit d4289fcc
      
       ("net: IP6 defrag: use rbtrees for IPv6 defrag")
      
      Modifying ip_defrag selftest seemed like an overkill, as I suspect
      most kernel test setups do not have 6lowpan hwsim enabled. So I ran
      the following code/script manually:
      
      	insmod ./mac802154_hwsim.ko
      
      	iwpan dev wpan0 set pan_id 0xbeef
      	ip link add link wpan0 name lowpan0 type lowpan
      	ip link set wpan0 up
      	ip link set lowpan0 up
      
      	iwpan dev wpan1 set pan_id 0xbeef
      	ip netns add foo
      	iwpan phy1 set netns name foo
      	ip netns exec foo ip link add link wpan1 name lowpan1 type lowpan
      	ip netns exec foo ip link set wpan1 up
      	ip netns exec foo ip link set lowpan1 up
      
      	ip -6 addr add "fb01::1/128" nodad dev lowpan0
      	ip -netns foo -6 addr add "fb02::1/128" nodad dev lowpan1
      
      	ip -6 route add "fb02::1/128" dev lowpan0
      	ip -netns foo -6 route add "fb01::1/128" dev lowpan1
      
      	# then in term1:
      	   ip netns exec foo bash
      	   ./udp_stream -6
      
      	# in term2:
      	    ./udp_stream -c -6 -H fb02::1
      
      	# pr_warn_once showed that the code changed by this patch
      	# was invoked.
      
      Signed-off-by: default avatarPeter Oskolkov <posk@google.com>
      Acked-by: default avatarAlexander Aring <aring@mojatatu.com>
      Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
      254c5dbe
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf · 5cd856a5
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter/IPVS fixes for net
      
      The following patchset contains Netfilter/IPVS fixes for net:
      
      1) Follow up patch to fix a compilation warning in a recent IPVS fix:
         098e13f5
      
       ("ipvs: fix dependency on nf_defrag_ipv6").
      
      2) Bogus ENOENT error on flush after rule deletion in the same batch,
         reported by Phil Sutter.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5cd856a5
    • Murali Karicheri's avatar
      net: netcp: Fix ethss driver probe issue · 1f43f400
      Murali Karicheri authored
      Recent commit below has introduced a bug in netcp driver that causes
      the ethss driver probe failure and thus break the networking function
      on K2 SoCs such as K2HK, K2L, K2E etc. This patch fixes the issue to
      restore networking on the above SoCs.
      
      Fixes: 21c328dc
      
       ("net: ethernet: Convert to using %pOFn instead of device_node.name")
      Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1f43f400