diff options
author | Amerigo Wang <amwang@redhat.com> | 2013-06-03 18:31:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-05 02:37:04 +0200 |
commit | 00f97da17a0c8d656d0c9a60b1d7f38735f69817 (patch) | |
tree | 472a9a30b7367331d97ac9c7bead437d5f4227b2 /firmware/3com/typhoon.bin.ihex | |
parent | pktgen: Fix position of ip and udp header (diff) | |
download | linux-00f97da17a0c8d656d0c9a60b1d7f38735f69817.tar.xz linux-00f97da17a0c8d656d0c9a60b1d7f38735f69817.zip |
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 'firmware/3com/typhoon.bin.ihex')
0 files changed, 0 insertions, 0 deletions