1. 12 Mar, 2020 2 commits
    • Alexander Bersenev's avatar
      cdc_ncm: Implement the 32-bit version of NCM Transfer Block · 0fa81b30
      Alexander Bersenev authored
      The NCM specification defines two formats of transfer blocks: with 16-bit
      fields (NTB-16) and with 32-bit fields (NTB-32). Currently only NTB-16 is
      implemented.
      
      This patch adds the support of NTB-32. The motivation behind this is that
      some devices such as E5785 or E5885 from the current generation of Huawei
      LTE routers do not support NTB-16. The previous generations of Huawei
      devices are also use NTB-32 by default.
      
      Also this patch enables NTB-32 by default for Huawei devices.
      
      During the 2019 ValdikSS made five attempts to contact Huawei to add the
      NTB-16 support to their router firmware, but they were unsuccessful.
      Signed-off-by: default avatarAlexander Bersenev <bay@hackerdom.ru>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0fa81b30
    • Martin Varghese's avatar
      bareudp: Fixed bareudp receive handling · 81f954a4
      Martin Varghese authored
      Reverted commit "2baecda3 bareudp: remove unnecessary udp_encap_enable() in
      bareudp_socket_create()"
      
      An explicit call to udp_encap_enable is needed as the setup_udp_tunnel_sock
      does not call udp_encap_enable if the if the socket is of type v6.
      
      Bareudp device uses v6 socket to receive v4 & v6 traffic
      
      CC: Taehee Yoo <ap420073@gmail.com>
      Fixes: 2baecda3 ("bareudp: remove unnecessary udp_encap_enable() in bareudp_socket_create()")
      Signed-off-by: default avatarMartin Varghese <martin.varghese@nokia.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      81f954a4
  2. 11 Mar, 2020 1 commit
  3. 10 Mar, 2020 37 commits