ip_gre: Refector the erpsan tunnel code.
authorWilliam Tu <u9012063@gmail.com>
Thu, 30 Nov 2017 19:51:27 +0000 (11:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Dec 2017 20:33:26 +0000 (15:33 -0500)
commita3222dc95ca751cdc5f6ac3c9b092b160b73ed9f
treef6b99785efca19e558d28862f2ca5538256a316f
parent50e0f5c0388e2b92dcf2ea19530abafffb7d7620
ip_gre: Refector the erpsan tunnel code.

Move two erspan functions to header file, erspan.h, so ipv6
erspan implementation can use it.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/erspan.h
net/ipv4/ip_gre.c