OSDN Git Service

gre: refactor the gre_fb_xmit
authorWilliam Tu <u9012063@gmail.com>
Fri, 25 Aug 2017 16:21:27 +0000 (09:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 22:04:52 +0000 (15:04 -0700)
commit862a03c35ed76c50a562f7406ad23315f7862642
tree2b7ef430bd74a60799b175816dbe070dcdd8afa8
parent03157937fe0b5ef0431509106c096e50612fa70d
gre: refactor the gre_fb_xmit

The patch refactors the gre_fb_xmit function, by creating
prepare_fb_xmit function for later ERSPAN collect_md mode patch.

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