]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5e43233e9af2cbb8c46bec31aefe7fbabacfab9
treee9843f3b7d4fe90b5b47e8c53e0fbcb4af204e46
parent156ea440648bc1518944ac6dadbc57b340654187
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