1. 28 1月, 2011 2 次提交
    • I
      xen: netfront: handle incoming GSO SKBs which are not CHECKSUM_PARTIAL · e0ce4af9
      Ian Campbell 提交于
      The Linux network stack expects all GSO SKBs to have ip_summed ==
      CHECKSUM_PARTIAL (which implies that the frame contains a partial
      checksum) and the Xen network ring protocol similarly expects an SKB
      which has GSO set to also have NETRX_csum_blank (which also implies a
      partial checksum).
      
      However there have been cases of buggy guests which mark a frame as
      GSO but do not set csum_blank. If we detect that we a receiving such a
      frame (which manifests as ip_summed != PARTIAL && skb_is_gso) then
      force the SKB to partial and recalculate the checksum, since we cannot
      rely on the peer having done so if they have not set csum_blank.
      
      Add an ethtool stat to track occurances of this event.
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: David Miller <davem@davemloft.net>
      Cc: xen-devel@lists.xensource.com
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e0ce4af9
    • E
      econet: remove compiler warnings · 389f2a18
      Eric Dumazet 提交于
      net/econet/af_econet.c: In function ‘econet_sendmsg’:
      net/econet/af_econet.c:494: warning: label ‘error’ defined but not used
      net/econet/af_econet.c:268: warning: unused variable ‘sk’
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Acked-by: NPhil Blundell <philb@gnu.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      389f2a18
  2. 27 1月, 2011 5 次提交
  3. 26 1月, 2011 6 次提交
  4. 25 1月, 2011 19 次提交
  5. 24 1月, 2011 8 次提交