From: Amerigo Wang Date: Mon, 3 Jun 2013 16:31:36 +0000 (+0000) Subject: netpoll: fix position of network header X-Git-Tag: v3.11-rc1~16^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f97da17a0c8d656d0c9a60b1d7f38735f69817;p=pandora-kernel.git netpoll: fix position of network header Similar to the problem in pktgen, netpoll uses skb_tail_offset() too, as the code is copied from pktgen. Also use return values of skb_put() directly, this will simiplify the code. Reported-by: Thomas Graf Cc: Thomas Graf Cc: Daniel Borkmann Cc: David S. Miller Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed