use skb_end_offset() in skb_try_coalesce()
authorWeiping Pan <wpan@redhat.com>
Fri, 28 Sep 2012 20:15:30 +0000 (20:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2012 20:43:17 +0000 (16:43 -0400)
commitf4b549a5ac818722fc13d789584f41f4e00d78b5
tree2ff1b310ec9315e3f66e4bd352ee85cdc7001dae
parente4d680c706284ca0413a84bd2a28fda76b360904
use skb_end_offset() in skb_try_coalesce()

Commit ec47ea824774(skb: Add inline helper for getting the skb end offset from
head) introduces this helper function, skb_end_offset(),
we should make use of it.

Signed-off-by: Weiping Pan <wpan@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c