]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0daafc4675eb009391e01a27bafd111c530c529e
tree20b11bfb690a4ab70c726f81a1f0826eb5a939f0
parentcfc26e22bb9474c119fe5b988d0df4bec38a11c0
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