]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove last caller of skb_tail_offset() and itself
authorCong Wang <amwang@redhat.com>
Wed, 5 Jun 2013 12:14:10 +0000 (20:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 05:22:23 +0000 (22:22 -0700)
commitb268a5e506004b89ac07382645310e7626258ce2
treecdaf18b7bf9c7f38eaaaa95f45a073d693223e18
parent91b45dc73e4e756e14e309aa98bae6ea74f9bf6e
net: remove last caller of skb_tail_offset() and itself

Similar to the following commits:

commit 7f2c8d0563f11f04bf7df (netpoll: fix position of network header)
commit 897f8ba8d0db33bd7a780 (pktgen: Fix position of ip and udp header)

using skb_tail_offset() seems not correct since the offset
is based on head pointer.

With the last caller removed, skb_tail_offset() can be killed
finally.

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>
include/linux/skbuff.h
net/ipv4/ipmr.c