commit | 00f97da17a0c8d656d0c9a60b1d7f38735f69817 | [log] [tgz] |
---|---|---|
author | Amerigo Wang <amwang@redhat.com> | Mon Jun 03 16:31:36 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 04 17:37:04 2013 -0700 |
tree | 472a9a30b7367331d97ac9c7bead437d5f4227b2 | |
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>