1. 13 Jun, 2013 3 commits
    • Jason Wang's avatar
      macvtap: slient sparse warnings · d9a90a31
      Jason Wang authored
      This patch silents the following sparse warnings:
      
      drivers/net/macvtap.c:98:9: warning: incorrect type in assignment (different
      address spaces)
      drivers/net/macvtap.c:98:9:    expected struct macvtap_queue *<noident>
      drivers/net/macvtap.c:98:9:    got struct macvtap_queue [noderef]
      <asn:4>*<noident>
      drivers/net/macvtap.c:120:9: warning: incorrect type in assignment (different
      address spaces)
      drivers/net/macvtap.c:120:9:    expected struct macvtap_queue *<noident>
      drivers/net/macvtap.c:120:9:    got struct macvtap_queue [noderef]
      <asn:4>*<noident>
      drivers/net/macvtap.c:151:22: error: incompatible types in comparison expression
      (different address spaces)
      drivers/net/macvtap.c:233:23: error: incompatible types in comparison expression
      (different address spaces)
      drivers/net/macvtap.c:243:23: error: incompatible types in comparison expression
      (different address spaces)
      drivers/net/macvtap.c:247:15: error: incompatible types in comparison expression
      (different address spaces)
        CC [M]  drivers/net/macvtap.o
      drivers/net/macvlan.c:232:24: error: incompatible types in comparison expression
      (different address spaces)
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d9a90a31
    • Simon Horman's avatar
      sctp: Correct byte order of access to skb->{network, transport}_header · 2c928e0e
      Simon Horman authored
      Corrects an byte order conflict introduced by
      158874ca
      ("sctp: Correct access to skb->{network, transport}_header").
      The values in question are host byte order.
      Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2c928e0e
    • Gao feng's avatar
      netlink: make compare exist all the time · ca15febf
      Gao feng authored
      Commit da12c90e
      "netlink: Add compare function for netlink_table"
      only set compare at the time we create kernel netlink,
      and reset compare to NULL at the time we finially
      release netlink socket, but netlink_lookup wants
      the compare exist always.
      
      So we should set compare after we allocate nl_table,
      and never reset it. make comapre exist all the time.
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarGao feng <gaofeng@cn.fujitsu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ca15febf
  2. 12 Jun, 2013 26 commits
  3. 11 Jun, 2013 11 commits