1. 01 Jan, 2015 4 commits
  2. 31 Dec, 2014 33 commits
  3. 30 Dec, 2014 3 commits
    • Kevin Hao's avatar
      net: gianfar: add missing __iomem annotation · 03366a33
      Kevin Hao authored
      Fix the following spare warning:
      drivers/net/ethernet/freescale/gianfar.c:3521:60: warning: incorrect type in argument 1 (different address spaces)
      drivers/net/ethernet/freescale/gianfar.c:3521:60:    expected unsigned int [noderef] <asn:2>*addr
      drivers/net/ethernet/freescale/gianfar.c:3521:60:    got unsigned int [usertype] *rfbptr
      drivers/net/ethernet/freescale/gianfar.c:205:16: warning: incorrect type in assignment (different address spaces)
      drivers/net/ethernet/freescale/gianfar.c:205:16:    expected unsigned int [usertype] *rfbptr
      drivers/net/ethernet/freescale/gianfar.c:205:16:    got unsigned int [noderef] <asn:2>*<noident>
      drivers/net/ethernet/freescale/gianfar.c:2918:44: warning: incorrect type in argument 1 (different address spaces)
      drivers/net/ethernet/freescale/gianfar.c:2918:44:    expected unsigned int [noderef] <asn:2>*addr
      drivers/net/ethernet/freescale/gianfar.c:2918:44:    got unsigned int [usertype] *rfbptr
      Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      03366a33
    • Kevin Hao's avatar
      91c53f76
    • Jason Wang's avatar
      virtio-net: don't do header check for dodgy gso packets · 41f2f127
      Jason Wang authored
      There's no need to do header check for virtio-net since:
      
      - Host sets dodgy for all gso packets from guest and check the header.
      - Host should be prepared for all kinds of evil packets from guest, since
        malicious guest can send any kinds of packet.
      
      So this patch sets NETIF_F_GSO_ROBUST for virtio-net to skip the check.
      
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      41f2f127