diff options
author | Amerigo Wang <amwang@redhat.com> | 2013-06-03 16:31:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-04 17:37:04 -0700 |
commit | 00f97da17a0c8d656d0c9a60b1d7f38735f69817 (patch) | |
tree | 472a9a30b7367331d97ac9c7bead437d5f4227b2 /drivers/net/ethernet/chelsio/cxgb3 | |
parent | 525cebedb32a87fa48584bc44e14170beb2c10d1 (diff) |
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 <tgraf@suug.ch>
Cc: Thomas Graf <tgraf@suug.ch>
Cc: Daniel Borkmann <dborkmann@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb3')
0 files changed, 0 insertions, 0 deletions