aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_gre.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-07net: annotate writes on dev->mtu from ndo_change_mtu()Eric Dumazet1-1/+1
2024-04-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
2024-04-01ip_tunnel: convert __be16 tunnel flags to bitmapsAlexander Lobakin1-49/+78
2024-04-01ip_tunnel: use a separate struct to store tunnel params in the kernelAlexander Lobakin1-8/+9
2024-03-29erspan: make sure erspan_base_hdr is present in skb->headEric Dumazet1-0/+5
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-02-09net: fill in MODULE_DESCRIPTION()s for ipv4 modulesBreno Leitao1-0/+1
2024-02-07ip_tunnel: use exit_batch_rtnl() methodEric Dumazet1-9/+15
2023-12-06ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()Shigeru Yoshida1-4/+7
2023-07-19ipv4: ip_gre: fix return value check in erspan_xmit()Yuanjun Gong1-1/+2
2023-07-19ipv4: ip_gre: fix return value check in erspan_fb_xmit()Yuanjun Gong1-1/+2
2023-06-02ip_gre: clean up some inconsistent indentingJiapeng Chong1-4/+4
2023-03-21erspan: do not use skb_mac_header() in ndo_start_xmit()Eric Dumazet1-2/+2
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-19/+29
2022-12-06ip_gre: do not report erspan version on GRE interfaceHangbin Liu1-19/+29
2022-11-16ipv4: tunnels: use DEV_STATS_INC()Eric Dumazet1-5/+5
2022-10-31rtnetlink: pass netlink message header and portid to rtnl_configure_link()Hangbin Liu1-1/+1
2022-08-18ip_tunnel: Respect tunnel key's "flow_flags" in IP tunnelsEyal Birger1-1/+1
2022-06-20erspan: do not assume transport header is always setEric Dumazet1-5/+10
2022-06-08ip_gre: test csum_start instead of transport headerWillem de Bruijn1-6/+5
2022-05-02ip_gre: Make GRE and GRETAP devices always NETIF_F_LLTXPeilin Ye1-28/+22
2022-04-25ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md modePeilin Ye1-3/+3
2022-04-25ip_gre: Make o_seqno start from 0 in native modePeilin Ye1-5/+3
2022-04-15net: Handle l3mdev in ip_tunnel_init_flowDavid Ahern1-2/+2
2022-01-11gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()Guillaume Nault1-2/+3
2021-10-13ip: use dev_addr_set() in tunnelsJakub Kicinski1-1/+1
2021-09-05ip_gre: validate csum_start only on pullWillem de Bruijn1-3/+6
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2021-08-22ip_gre: add validation for csum_startShreyansh Chouhan1-0/+2
2021-07-27ip_tunnel: use ndo_siocdevprivateArnd Bergmann1-1/+1
2021-06-28gre: let mac_header point to outer header only when necessaryGuillaume Nault1-1/+6
2020-11-09ipv4/ipv6: switch to dev_get_tstats64Heiner Kallweit1-3/+3
2020-10-13ip_gre: set dev->hard_header_len and dev->needed_headroom properlyCong Wang1-4/+11
2020-05-19net: add a new ndo_tunnel_ioctl methodChristoph Hellwig1-21/+14
2020-05-12erspan: Check IFLA_GRE_ERSPAN_VER is set.William Tu1-1/+2
2020-05-05erspan: Add type I version 0 support.William Tu1-15/+43
2020-03-16net: ip_gre: Accept IFLA_INFO_DATA-less configurationPetr Machata1-0/+2
2020-03-15net: ip_gre: Separate ERSPAN newlink / changelink callbacksPetr Machata1-18/+85
2019-12-09treewide: Use sizeof_field() macroPankaj Bharadiya1-2/+2
2019-11-20ip_gre: Make none-tun-dst gre tunnel store tunnel info as metadat_dst in recvwenxu1-1/+5
2019-10-29erspan: fix the tun_info options_len check for erspanXin Long1-2/+2
2019-09-30erspan: remove the incorrect mtu limit for erspanHaishuang Yan1-0/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-04-08net: ip_gre: fix possible use-after-free in erspan_rcvLorenzo Bianconi1-5/+10
2019-02-27route: Add multipath_hash in flowi_common to make user-define hashwenxu1-1/+1
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+17
2019-02-21net: ip_gre: do not report erspan_ver for gre or gretapLorenzo Bianconi1-16/+17
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2019-01-30net: ip_gre: always reports o_key to userspaceLorenzo Bianconi1-1/+6
2019-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+0
2019-01-26ip_gre: Refactor collect metatdata mode tunnel xmit to ip_md_tunnel_xmitwenxu1-93/+19
2019-01-22net: ip_gre: use erspan key field for tunnel lookupLorenzo Bianconi1-9/+0
2019-01-16erspan: build the header with the right proto according to erspan_verXin Long1-9/+14
2019-01-01ip: validate header length on virtual device xmitWillem de Bruijn1-0/+9
2018-12-10net: Add netif_is_gretap()/netif_is_ip6gretap()Oz Shlomo1-6/+0
2018-11-08net: Convert protocol error handlers from void to intStefano Brivio1-23/+25
2018-11-06net: Add extack argument to rtnl_create_linkDavid Ahern1-1/+1
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_redirect()Maciej Żenczykowski1-2/+2
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_update_pmtu()Maciej Żenczykowski1-1/+1
2018-09-16ip_gre: fix parsing gre header in ipgre_errHaishuang Yan1-6/+3
2018-09-11erspan: fix error handling for erspan tunnelHaishuang Yan1-0/+3
2018-09-11erspan: return PACKET_REJECT when the appropriate tunnel is not foundHaishuang Yan1-0/+2
2018-08-27erspan: set erspan_ver to 1 by default when adding an erspan devXin Long1-0/+3
2018-08-01ip_gre: remove redundant variables t_hlenYueHaibing1-5/+0
2018-06-29net: check tunnel option type in tunnel flagsPieter Jansen van Vuuren1-0/+2
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2018-05-17erspan: fix invalid erspan version.William Tu1-1/+3
2018-05-11erspan: auto detect truncated ipv6 packets.William Tu1-0/+6
2018-04-30erspan: auto detect truncated packets.William Tu1-0/+6
2018-04-10ip_gre: clear feature flags when incompatible o_flags are setSabrina Dubroca1-0/+6
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-3/+0
2018-03-22gre: fix TUNNEL_SEQ bit check on sequence numberingColin Ian King1-1/+1
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+0
2018-03-04gre: add sequence number for collect md mode.William Tu1-2/+5
2018-02-27net: GRE: Add is_gretap_dev, is_ip6gretap_devPetr Machata1-0/+6
2018-02-27ip_gre: fix IFLA_MTU ignored on NEWLINKXin Long1-5/+0
2018-02-27net: Convert ipgre_net_ops, ipgre_tap_net_ops, erspan_net_ops, vti_net_ops an...Kirill Tkhai1-0/+3
2018-02-06net: erspan: fix erspan config overwriteWilliam Tu1-9/+0
2018-02-06net: erspan: fix metadata extractionWilliam Tu1-1/+4
2018-01-25net: erspan: use bitfield instead of mask and offsetWilliam Tu1-24/+14
2017-12-26net: erspan: remove md NULL checkWilliam Tu1-5/+0
2017-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-12-20ip_gre: fix potential memory leak in erspan_rcvHaishuang Yan1-1/+3
2017-12-20ip_gre: fix error path when erspan_rcv failedHaishuang Yan1-0/+2
2017-12-19ip_gre: remove the incorrect mtu limit for ipgre tapXin Long1-0/+1
2017-12-18net: erspan: reload pointer after pskb_may_pullWilliam Tu1-1/+3
2017-12-18net: erspan: fix wrong return valueWilliam Tu1-1/+1
2017-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-12-15ip_gre: fix wrong return value of erspan_rcvHaishuang Yan1-1/+1
2017-12-15net: erspan: introduce erspan v2 for ip_greWilliam Tu1-15/+90
2017-12-15net: erspan: refactor existing erspan codeWilliam Tu1-10/+17
2017-12-01ip_gre: Refector the erpsan tunnel code.William Tu1-49/+5
2017-11-10ip_gre: add the support for i/o_flags update via ioctlXin Long1-3/+16
2017-11-10ip_gre: add the support for i/o_flags update via netlinkXin Long1-2/+37
2017-10-07ip_gre: check packet length and mtu correctly in erspan txWilliam Tu1-4/+4
2017-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+7
2017-10-01ip_gre: erspan device should keep dstXin Long1-0/+1
2017-10-01ip_gre: set tunnel hlen properly in erspan_tunnel_initXin Long1-1/+3
2017-10-01ip_gre: check packet length and mtu correctly in erspan_xmitXin Long1-1/+1
2017-10-01ip_gre: get key from session_id correctly in erspan_rcvXin Long1-3/+1
2017-10-01ip_gre: ipgre_tap device should keep dstXin Long1-0/+1
2017-09-19ipv4: speedup ipv6 tunnels dismantleEric Dumazet1-13/+9
2017-08-28gre: add collect_md mode to ERSPAN tunnelWilliam Tu1-4/+98
2017-08-28gre: refactor the gre_fb_xmitWilliam Tu1-15/+40
2017-08-23gre: remove duplicated assignment of iphColin Ian King1-1/+0
2017-08-22gre: fix goto statement typoWilliam Tu1-2/+2
2017-08-22gre: introduce native tunnel support for ERSPANWilliam Tu1-0/+269
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.validateMatthias Schiffer1-3/+5
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.changelinkMatthias Schiffer1-1/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.newlinkMatthias Schiffer1-2/+3
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-1/+1
2017-04-21ip_tunnel: Allow policy-based routing through tunnelsCraig Gallek1-7/+17
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-2/+2
2016-09-10net/ip_tunnels: Introduce tunnel_id_to_key32() and key32_to_tunnel_id()Amir Vadai1-21/+2
2016-08-15gre: set inner_protocol on xmitSimon Horman1-1/+0
2016-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+15
2016-06-18ipv6: RFC 4884 partial support for SIT/GRE tunnelsEric Dumazet1-1/+4
2016-06-18gre: better support for ICMP messages for gre+ipv6Eric Dumazet1-0/+6
2016-06-15gre: fix error handlerEric Dumazet1-8/+4
2016-06-15net: ipv4: Add ability to have GRE ignore DF bit in IPv4 payloadsPhilip Prindeville1-9/+33
2016-06-14ovs/gre: fix rtnl notifications on iface deletionNicolas Dichtel1-0/+4
2016-06-14ovs/gre,geneve: fix error path when creating an ifaceNicolas Dichtel1-3/+7
2016-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2016-05-12gre: Fix wrong tpi->proto in WCCPHaishuang Yan1-2/+2
2016-05-11gre: do not keep the GRE header around in collect medata modeJiri Benc1-1/+6
2016-05-04gre: receive also TEB packets for lwtunnelsJiri Benc1-11/+28
2016-05-04gre: move iptunnel_pull_header down to ipgre_rcvJiri Benc1-5/+10
2016-05-04gre: change gre_parse_header to return the header lengthJiri Benc1-6/+3
2016-05-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+13
2016-05-02gre: Create common functions for transmitTom Herbert1-47/+5
2016-05-02gre: Move utility functions to common headersTom Herbert1-129/+20
2016-05-02gre: do not pull header in ICMP error processingJiri Benc1-3/+8
2016-04-28gre: reject GUE and FOU in collect metadata modeJiri Benc1-0/+5
2016-04-28gre: build header correctly for collect metadata tunnelsJiri Benc1-4/+5
2016-04-28gre: do not assign header_ops in collect metadata modeJiri Benc1-2/+3
2016-04-16ip_tunnel_core: iptunnel_handle_offloads returns int and doesn't free skbAlexander Duyck1-14/+6
2016-04-07GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOUAlexander Duyck1-3/+10
2016-03-08bpf, vxlan, geneve, gre: fix usage of dst_cache on xmitDaniel Borkmann1-4/+6
2016-02-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+11
2016-02-18gre: clear IFF_TX_SKB_SHARINGJiri Benc1-2/+3
2016-02-18iptunnel: scrub packet in iptunnel_pull_headerJiri Benc1-1/+1
2016-02-16net/ipv4: add dst cache support for gre lwtunnelsPaolo Abeni1-3/+10
2016-02-12net: ip_tunnel: remove 'csum_help' argument to iptunnel_handle_offloadsEdward Cree1-2/+1
2016-02-12net: gre: Implement LCO for GRE over IPv4Edward Cree1-3/+13
2016-02-10vxlan, gre, geneve: Set a large MTU on ovs-created tunnel devicesDavid Wragg1-0/+8
2015-12-25ip_tunnel: Move stats update to iptunnel_xmit()Pravin B Shelar1-4/+3
2015-11-30net: remove unnecessary mroute.h includesNikolay Aleksandrov1-1/+0
2015-10-22openvswitch: Fix egress tunnel info.Pravin B Shelar1-9/+37
2015-08-29ip_tunnels: record IP version in tunnel infoJiri Benc1-1/+2
2015-08-29ip_tunnels: convert the mode field of ip_tunnel_info to flagsJiri Benc1-1/+1
2015-08-27tunnel: introduce udp_tun_rx_dst()Pravin B Shelar1-16/+5
2015-08-20route: move lwtunnel state to dst_entryJiri Benc1-1/+1
2015-08-20ip_tunnels: use tos and ttl fields also for IPv6Jiri Benc1-4/+4
2015-08-20ip_tunnels: add IPv6 addresses to ip_tunnel_keyJiri Benc1-5/+5
2015-08-10gre: Remove support for sharing GRE protocol hook.Pravin B Shelar1-16/+199
2015-08-10openvswitch: Use regular GRE net_device instead of vportPravin B Shelar1-0/+36
2015-08-10ip_gre: Add support to collect tunnel metadata.Pravin B Shelar1-16/+179
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-2/+2
2015-04-02ipip,gre,vti,sit: implement ndo_get_iflinkNicolas Dichtel1-0/+2
2015-03-31netlink: implement nla_get_in_addr and nla_get_in6_addrJiri Benc1-2/+2
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-2/+2
2015-02-08gre/ipip: use be16 variants of netlink functionsSabrina Dubroca1-6/+6
2015-01-19tunnels: advertise link netns via netlinkNicolas Dichtel1-0/+2
2014-12-31gre: allow live address changestephen hemminger1-0/+1
2014-12-15gre: fix the inner mac header in nbma tunnel xmit pathTimo Teräs1-4/+5
2014-11-05fou: Fix typo in returning flags in netlinkTom Herbert1-1/+1
2014-10-07net: better IFF_XMIT_DST_RELEASE supportEric Dumazet1-1/+1
2014-10-01gre: Set inner protocol in v4 and v6 GRE transmitTom Herbert1-0/+2
2014-09-19gre: Setup and TX path for gre/UDP foo-over-udp encapsulationTom Herbert1-5/+85
2014-06-10gre: allow changing mac address when device is upstephen hemminger1-0/+1
2014-04-23gre: add x-netns supportNicolas Dichtel1-3/+3
2014-04-12gre: don't allow to add the same tunnel twiceNicolas Dichtel1-1/+1
2014-01-27net: gre: use icmp_hdr() to get inner ip headerDuan Jiong1-1/+1
2014-01-18ipv4: be friend with drop monitorEric Dumazet1-2/+2
2013-12-18ip_gre: fix msg_name parsing for recvfrom/recvmsgTimo Teräs1-0/+1
2013-08-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2013-08-15ipip: add x-netns supportNicolas Dichtel1-2/+2
2013-08-09ip_gre: fix ipgre_header to return correct offsetTimo Teräs1-1/+1
2013-07-01gre: fix a regression in ioctlCong Wang1-4/+5
2013-06-19gre: export gre_handle_offloads() function.Pravin B Shelar1-32/+2
2013-06-19gre: export gre_build_header() function.Pravin B Shelar1-39/+1
2013-06-19gre: Allow multiple protocol listener for gre protocol.Pravin B Shelar1-147/+26
2013-05-31iptunnel: specify protocol outside IP headerNicolas Dichtel1-1/+1
2013-05-20ip_gre: fix a possible crash in ipgre_err()Eric Dumazet1-1/+2
2013-04-25net: ipv4: typo issue, remove erroneous semicolonChen Gang1-1/+1
2013-04-08ip_gre: fix a possible crash in parse_gre_header()Eric Dumazet1-3/+5
2013-03-30ip_gre: don't overwrite iflink during net_dev initAntonio Quartulli1-1/+0
2013-03-26GRE: Refactor GRE tunneling code.Pravin B Shelar1-1187/+317
2013-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+1
2013-03-16Revert "ip_gre: make ipgre_tunnel_xmit() not parse network header as IP uncon...Timo Teräs1-4/+1
2013-03-10tunnel: use iptunnel_xmit() againCong Wang1-15/+1
2013-02-25Revert "ip_gre: propogate target device GSO capability to the tunnel device"Pravin B Shelar1-8/+2
2013-02-25IP_GRE: Fix GRE_CSUM case.Pravin B Shelar1-4/+8
2013-02-25IP_GRE: Fix IP-Identification.Pravin B Shelar1-1/+2
2013-02-19ip_gre: remove an extra dst_release()Eric Dumazet1-3/+1
2013-02-19ip_gre: propogate target device GSO capability to the tunnel deviceDmitry Kravkov1-2/+8
2013-02-19ip_gre: allow CSUM capable devices to handle packetsDmitry Kravkov1-5/+2
2013-02-15v4 GRE: Add TCP segmentation offload for GREPravin B Shelar1-7/+75
2013-01-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5