skbuff: inline page_frag_alloc_align()
authorYajun Deng <yajun.deng@linux.dev>
Tue, 14 Sep 2021 03:49:35 +0000 (11:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2021 13:28:58 +0000 (14:28 +0100)
commit32e3573f739209e612ea5c98291251b00cc6f70e
treecc3eb4a806d0a9d01c7be97e9fde666fafcbc797
parentb9bbc4c1debc837ba56872fb3b2499ba6459ca8b
skbuff: inline page_frag_alloc_align()

The __alloc_frag_align() is short, and only called by two functions,
so inline page_frag_alloc_align() for reduce the overhead of calls.

Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c