1. Mar 19, 2013
  2. Mar 18, 2013
  3. Mar 17, 2013
    • Bjørn Mork's avatar
      net: cdc_ncm, cdc_mbim: allow user to prefer NCM for backwards compatibility · 1e8bbe6c
      Bjørn Mork authored
      commit bd329e12
      
       ("net: cdc_ncm: do not bind to NCM compatible MBIM devices")
      introduced a new policy, preferring MBIM for dual NCM/MBIM functions if
      the cdc_mbim driver was enabled.  This caused a regression for users
      wanting to use NCM.
      
      Devices implementing NCM backwards compatibility according to section
      3.2 of the MBIM v1.0 specification allow either NCM or MBIM on a single
      USB function, using different altsettings.  The cdc_ncm and cdc_mbim
      drivers will both probe such functions, and must agree on a common
      policy for selecting either MBIM or NCM.  Until now, this policy has
      been set at build time based on CONFIG_USB_NET_CDC_MBIM.
      
      Use a module parameter to set the system policy at runtime, allowing the
      user to prefer NCM on systems with the cdc_mbim driver.
      
      Cc: Greg Suarez <gsuarez@smithmicro.com>
      Cc: Alexey Orishko <alexey.orishko@stericsson.com>
      Reported-by: default avatarGeir Haatveit <nospam@haatveit.nu>
      Reported-by: Tommi Kyntola <ky...
      1e8bbe6c
    • Vlad Yasevich's avatar
      rtnetlink: Mask the rta_type when range checking · a5b8db91
      Vlad Yasevich authored
      
      
      Range/validity checks on rta_type in rtnetlink_rcv_msg() do
      not account for flags that may be set.  This causes the function
      to return -EINVAL when flags are set on the type (for example
      NLA_F_NESTED).
      
      Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
      Acked-by: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a5b8db91
    • Timo Teräs's avatar
      Revert "ip_gre: make ipgre_tunnel_xmit() not parse network header as IP unconditionally" · 8c6216d7
      Timo Teräs authored
      This reverts commit 412ed947
      
      .
      
      The commit is wrong as tiph points to the outer IPv4 header which is
      installed at ipgre_header() and not the inner one which is protocol dependant.
      
      This commit broke succesfully opennhrp which use PF_PACKET socket with
      ETH_P_NHRP protocol. Additionally ssl_addr is set to the link-layer
      IPv4 address. This address is written by ipgre_header() to the skb
      earlier, and this is the IPv4 header tiph should point to - regardless
      of the inner protocol payload.
      
      Signed-off-by: default avatarTimo Teräs <timo.teras@iki.fi>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8c6216d7
  4. Mar 15, 2013
  5. Mar 14, 2013
  6. Mar 13, 2013
  7. Mar 12, 2013