ipv4: Introduce ipip_offload_init helper function.
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 2 Aug 2017 16:34:15 +0000 (09:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:27:07 +0000 (09:27 -0700)
commit93b1b31f87ae7c0795afc7586d28f3ed4f859d20
treee9843f3b7d4fe90b5b47e8c53e0fbcb4af204e46
parenteb48d682814c8b0e44111c45d7c554e1989fd10d
ipv4: Introduce ipip_offload_init helper function.

It's convenient to init ipip offload. We will check
the return value, and print KERN_CRIT info on failure.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c