]> git.baikalelectronics.ru Git - kernel.git/commit
gre6: Cleanup GREv6 receive path, call common GRE functions
authorTom Herbert <tom@herbertland.com>
Sat, 30 Apr 2016 00:12:17 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 May 2016 23:23:31 +0000 (19:23 -0400)
commit288f3b9e4622474d825db5a7ec4b2d4823be8038
tree1173688bfd02d993acc31bc8b05788cb79d46e9f
parente1696177e621425a567de17b029afc3e42b61746
gre6: Cleanup GREv6 receive path, call common GRE functions

- Create gre_rcv function. This calls gre_parse_header and ip6gre_rcv.
  - Call ip6_tnl_rcv. Doing this and using gre_parse_header eliminates
    most of the code in ip6gre_rcv.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c