net: dev: move inline skb_needs_linearize helper to header
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 6 Dec 2013 10:36:16 +0000 (11:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:23:33 +0000 (20:23 -0500)
commit4262e5ccbbb5171abd2921eed16ed339633d6478
tree20b11bfb690a4ab70c726f81a1f0826eb5a939f0
parent34f9f437104b86f6ddfa2770e2cd852846385dc3
net: dev: move inline skb_needs_linearize helper to header

As we need it elsewhere, move the inline helper function of
skb_needs_linearize() over to skbuff.h include file. While
at it, also convert the return to 'bool' instead of 'int'
and add a proper kernel doc.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/dev.c