aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ipv6_sockglue.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-06inet: Add getsockopt support for IP_ROUTER_ALERT and IPV6_ROUTER_ALERTJuntong Deng1-0/+6
2024-03-01ipv6: annotate data-races around cnf.hop_limitEric Dumazet1-1/+1
2023-12-15net: Namespace-ify sysctl_optmem_maxEric Dumazet1-2/+2
2023-12-11ipv6: annotate data-races around np->ucast_oifEric Dumazet1-32/+26
2023-12-11ipv6: annotate data-races around np->mcast_oifEric Dumazet1-36/+38
2023-09-19ipv6: lockless IPV6_ADDR_PREFERENCES implementationEric Dumazet1-9/+10
2023-09-15ipv6: lockless IPV6_FLOWINFO_SEND implementationEric Dumazet1-7/+6
2023-09-15ipv6: lockless IPV6_MTU_DISCOVER implementationEric Dumazet1-9/+8
2023-09-15ipv6: lockless IPV6_ROUTER_ALERT_ISOLATE implementationEric Dumazet1-7/+6
2023-09-15ipv6: lockless IPV6_RECVERR implemetationEric Dumazet1-9/+8
2023-09-15ipv6: lockless IPV6_DONTFRAG implementationEric Dumazet1-5/+4
2023-09-15ipv6: lockless IPV6_AUTOFLOWLABEL implementationEric Dumazet1-6/+5
2023-09-15ipv6: lockless IPV6_MULTICAST_ALL implementationEric Dumazet1-8/+6
2023-09-15ipv6: lockless IPV6_RECVERR_RFC4884 implementationEric Dumazet1-9/+8
2023-09-15ipv6: lockless IPV6_MINHOPCOUNT implementationEric Dumazet1-16/+15
2023-09-15ipv6: lockless IPV6_MTU implementationEric Dumazet1-8/+7
2023-09-15ipv6: lockless IPV6_MULTICAST_HOPS implementationEric Dumazet1-13/+15
2023-09-15ipv6: lockless IPV6_MULTICAST_LOOP implementationEric Dumazet1-10/+8
2023-09-15ipv6: lockless IPV6_UNICAST_HOPS implementationEric Dumazet1-9/+11
2023-08-20net: selectively purge error queue in IP_RECVERR / IPV6_RECVERREric Dumazet1-1/+1
2023-08-16inet: move inet->is_icsk to inet->inet_flagsEric Dumazet1-2/+2
2023-08-16inet: move inet->transparent to inet->inet_flagsEric Dumazet1-2/+2
2023-08-16inet: move inet->freebind to inet->inet_flagsEric Dumazet1-2/+2
2023-08-09net: annotate data-races around sock->opsEric Dumazet1-4/+4
2023-04-14net/ipv6: Initialise msg_control_is_userKevin Brodsky1-0/+1
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-12/+0
2022-10-24inet6: Clean up failure path in do_ipv6_setsockopt().Kuniyuki Iwashima1-4/+2
2022-10-12tcp: Fix data races around icsk->icsk_af_ops.Kuniyuki Iwashima1-1/+2
2022-10-12ipv6: Fix data races around sk->sk_prot.Kuniyuki Iwashima1-2/+2
2022-10-12udp: Call inet6_destroy_sock() in setsockopt(IPV6_ADDRFORM).Kuniyuki Iwashima1-12/+8
2022-10-12tcp/udp: Fix memory leak in ipv6_renew_options().Kuniyuki Iwashima1-0/+7
2022-09-06Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextPaolo Abeni1-54/+59
2022-09-02bpf: Change bpf_getsockopt(SOL_IPV6) to reuse do_ipv6_getsockopt()Martin KaFai Lau1-2/+2
2022-09-02bpf: net: Avoid do_ipv6_getsockopt() taking sk lock when called from bpfMartin KaFai Lau1-8/+8
2022-09-02bpf: net: Change do_ipv6_getsockopt() to take the sockptr_t argumentMartin KaFai Lau1-31/+38
2022-09-02net: Add a len argument to compat_ipv6_get_msfilter()Martin KaFai Lau1-5/+3
2022-09-02net: Remove unused flags argument from do_ipv6_getsockoptMartin KaFai Lau1-3/+3
2022-08-24net: Fix data-races around sysctl_optmem_max.Kuniyuki Iwashima1-2/+2
2022-08-18bpf: Change bpf_setsockopt(SOL_IPV6) to reuse do_ipv6_setsockopt()Martin KaFai Lau1-2/+2
2022-08-18bpf: net: Change do_ipv6_setsockopt() to use the sockopt's lock_sock() and ca...Martin KaFai Lau1-7/+7
2022-02-18ipv6: annotate some data-races around sk->sk_protEric Dumazet1-2/+4
2021-11-24net-ipv6: changes to ->tclass (via IPV6_TCLASS) should sk_dst_reset()Maciej Żenczykowski1-1/+4
2021-11-24net-ipv6: do not allow IPV6_TCLASS to muck with tcp's ECNMaciej Żenczykowski1-0/+4
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+4
2021-10-25ipv6: guard IPV6_MINHOPCOUNT with a static keyEric Dumazet1-0/+6
2021-10-25ipv6: annotate data races around np->min_hopcountEric Dumazet1-1/+4
2021-08-05net/ipv4/ipv6: Replace one-element arraya with flexible-array membersGustavo A. R. Silva1-9/+9
2020-12-01net/ipv6: propagate user pointer annotationLukas Bulwahn1-1/+1
2020-08-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-07-30ipv6: fix memory leaks on IPV6_ADDRFORM pathCong Wang1-0/+1
2020-07-24icmp6: support rfc 4884Willem de Bruijn1-0/+12
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-6/+4
2020-07-24net/ipv6: switch do_ipv6_setsockopt to sockptr_tChristoph Hellwig1-33/+33
2020-07-24net/ipv6: factor out a ipv6_set_opt_hdr helperChristoph Hellwig1-75/+75
2020-07-24net/ipv6: switch ipv6_flowlabel_opt to sockptr_tChristoph Hellwig1-1/+1
2020-07-24net/ipv6: switch ip6_mroute_setsockopt to sockptr_tChristoph Hellwig1-1/+2
2020-07-24netfilter: switch nf_setsockopt to sockptr_tChristoph Hellwig1-1/+2
2020-07-24net/xfrm: switch xfrm_user_policy to sockptr_tChristoph Hellwig1-1/+2
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-132/+51
2020-07-19net/ipv6: factor out mcast join/leave setsockopt helpersChristoph Hellwig1-50/+53
2020-07-19net/ipv6: factor out MCAST_MSFILTER setsockopt helpersChristoph Hellwig1-76/+83
2020-07-19net/ipv6: factor out MCAST_MSFILTER getsockopt helpersChristoph Hellwig1-65/+74
2020-07-19netfilter: remove the compat_{get,set} methodsChristoph Hellwig1-3/+2
2020-07-19net: remove compat_sock_common_{get,set}sockoptChristoph Hellwig1-10/+2
2020-06-04seg6: fix seg6_validate_srh() to avoid slab-out-of-boundsAhmed Abdelsalam1-1/+1
2020-06-01ipv6: fix IPV6_ADDRFORM operation logicHangbin Liu1-6/+7
2020-05-28ipv6: add ip6_sock_set_addr_preferencesChristoph Hellwig1-58/+1
2020-05-20handle the group_source_req options directlyAl Viro1-2/+21
2020-05-20ipv6: take handling of group_source_req options into a helperAl Viro1-29/+36
2020-05-20ipv[46]: do compat setsockopt for MCAST_{JOIN,LEAVE}_GROUP directlyAl Viro1-0/+28
2020-05-20ipv6: do compat setsockopt for MCAST_MSFILTER directlyAl Viro1-1/+47
2020-05-20ip6_mc_msfilter(): pass the address list separatelyAl Viro1-1/+1
2020-05-20get rid of compat_mc_getsockopt()Al Viro1-3/+38
2020-05-20ip*_mc_gsfget(): lift copyout of struct group_filter into callersAl Viro1-4/+14
2020-05-20compat_ip{,v6}_setsockopt(): enumerate MCAST_... options explicitlyAl Viro1-1/+9
2020-05-13ipv6: set msg_control_is_user in do_ipv6_getsockoptChristoph Hellwig1-0/+1
2020-04-20ipv6: fix restrict IPV6_ADDRFORM operationJohn Haxby1-7/+6
2020-02-26ipv6: restrict IPV6_ADDRFORM operationEric Dumazet1-2/+8
2019-11-21net-ipv6: IPV6_TRANSPARENT - check NET_RAW prior to NET_ADMINMaciej Żenczykowski1-2/+2
2019-05-31Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-5/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-25ipv6_sockglue: Fix a missing-check bug in ip6_ra_control()Gen Zhang1-0/+2
2019-03-03net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATEFrancesco Ruggeri1-0/+10
2018-11-07ipv6: allow ping to link-local address in VRFMike Manning1-1/+1
2018-09-13ipv6: Add sockopt IPV6_MULTICAST_ALL analogue to IP_MULTICAST_ALLAndre Naujoks1-0/+11
2018-07-20Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller1-10/+22
2018-07-16ipv6/mcast: init as INCLUDE when join SSM INCLUDE groupHangbin Liu1-2/+3
2018-07-07ipv6: fold sockcm_cookie into ipcm6_cookieWillem de Bruijn1-2/+1
2018-07-05ipv6: make ipv6_renew_options() interrupt/kernel safePaul Moore1-8/+19
2018-02-28inet: whitespace cleanupStephen Hemminger1-1/+0
2018-02-14netfilter: drop outermost socket lock in getsockopt()Paolo Abeni1-8/+2
2018-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nfDavid S. Miller1-12/+5
2018-01-31netfilter: on sockopt() acquire sock lock only in the required scopePaolo Abeni1-12/+5
2018-01-23ipv6: Fix getsockopt() for sockets with default IPV6_AUTOFLOWLABELBen Hutchings1-1/+1
2017-12-21net: reevalulate autoflowlabel setting after sysctl settingShaohua Li1-0/+1
2017-09-30net-ipv6: add support for sockopt(SOL_IPV6, IPV6_FREEBIND)Maciej Żenczykowski1-0/+12
2017-08-29ipv6: do not set sk_destruct in IPV6_ADDRFORM sockoptXin Long1-1/+0
2017-07-05Merge branch 'work.memdup_user' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-8/+3
2017-07-04net, ipv6: convert ipv6_txoptions.refcnt from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-30do_ipv6_setsockopt(): don't open-code memdup_user()Al Viro1-8/+3
2016-12-30net: Allow IP_MULTICAST_IF to set index to L3 slaveDavid Ahern1-4/+12
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-09ipv6: sr: add support for SRH injection through setsockoptDavid Lebrun1-0/+10
2016-11-03ipv6: add IPV6_RECVFRAGSIZE cmsgWillem de Bruijn1-0/+8
2016-10-21ipv6: fix a potential deadlock in do_ipv6_setsockopt()WANG Cong1-1/+2
2016-07-07Merge branch 'stable-4.8' of git://git.infradead.org/users/pcmoore/selinux in...James Morris1-1/+0
2016-06-27calipso: Set the calipso socket label to match the secattr.Huw Davies1-1/+0
2016-05-03ipv6: add new struct ipcm6_cookieWei Wang1-3/+3
2016-04-07net: introduce lockdep_is_held and update various places to use itHannes Frederic Sowa1-2/+4
2016-04-04ipv6: process socket-level control messages in IPv6Soheil Hassas Yeganeh1-1/+2
2015-12-02ipv6: add complete rcu protection around np->optEric Dumazet1-11/+22
2015-03-31ipv6: coding style: comparison for equality with NULLIan Morris1-5/+5
2015-03-20ipv6: invert join/leave anycast rtnl/socket locking orderMarcelo Ricardo Leitner1-0/+2
2015-03-18ipv4, ipv6: kill ip_mc_{join, leave}_group and ipv6_sock_mc_{join, drop}Marcelo Ricardo Leitner1-8/+13
2015-03-18ipv4,ipv6: grab rtnl before locking the socketMarcelo Ricardo Leitner1-8/+27
2015-01-26ipv6: tcp: fix race in IPV6_2292PKTOPTIONSEric Dumazet1-6/+2
2014-12-09ipv6: remove useless spin_lock/spin_unlockDuan Jiong1-5/+1
2014-08-24ipv6: White-space cleansing : gaps between function and symbol exportIan Morris1-4/+0
2014-08-24ipv6: White-space cleansing : Line LayoutsIan Morris1-11/+11
2014-07-15ipv6: remove unnecessary break after returnFabian Frederick1-1/+0
2014-07-07ipv6: Implement automatic flow label generation on transmitTom Herbert1-0/+8
2014-07-01inet: move ipv6only in sock_commonEric Dumazet1-2/+2
2014-02-26ipv6: yet another new IPV6_MTU_DISCOVER option IPV6_PMTUDISC_OMITHannes Frederic Sowa1-1/+1
2014-01-19ipv6: make IPV6_RECVPKTINFO work for ipv4 datagramsHannes Frederic Sowa1-3/+1
2014-01-19ipv6: add a flag to get the flow label used remotlyFlorent Fourcot1-1/+4
2014-01-15ipv6: move IPV6_TCLASS_SHIFT into ipv6.h and define a helperLi RongQing1-1/+2
2013-12-18ipv6: support IPV6_PMTU_INTERFACE on socketsHannes Frederic Sowa1-1/+1
2013-12-12ipv6: fix incorrect type in declarationFlorent Fourcot1-1/+2
2013-12-09ipv6: remove rcv_tclass of ipv6_pinfoFlorent Fourcot1-1/+1
2013-12-09ipv6: add flowinfo for tcp6 pkt_options for all casesFlorent Fourcot1-0/+4
2013-11-08ipv6: enable IPV6_FLOWLABEL_MGR for getsockoptFlorent Fourcot1-0/+28
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-3/+4
2013-01-31ipv6: rename datagram_send_ctl and datagram_recv_ctlTom Parkin1-3/+3
2012-11-18net: Allow userns root to control ipv6Eric W. Biederman1-3/+4
2012-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2012-11-13ipv6: setsockopt(IPIPPROTO_IPV6, IPV6_MINHOPCOUNT) forgot to set return valueHannes Frederic Sowa1-0/+1
2012-11-01ipv6: use IS_ENABLED()Amerigo Wang1-1/+1
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-1/+1
2012-04-12net/ipv6/ipv6_sockglue.c: Removed redundant externEldad Zack1-1/+0
2012-02-13net: implement IP_RECVTOS for IP_PKTOPTIONSJiri Benc1-0/+4
2012-02-08ipv6: Implement IPV6_UNICAST_IF socket option.Erich E. Hoover1-0/+34
2011-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2011-11-28ipv6: Set mcast_hops to IPV6_DEFAULT_MCASTHOPS when -1 was given.Li Wei1-1/+1
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-5/+3
2011-10-20net: allow CAP_NET_RAW to set socket options IP{,V6}_TRANSPARENTMaciej Żenczykowski1-1/+1
2011-08-30net: relax PKTINFO non local ipv6 udp xmit checkMaciej Żenczykowski1-1/+1
2011-08-19ipv6: Fix ipv6_getsockopt for IPV6_2292PKTOPTIONSDaniel Baluta1-4/+5
2011-03-12ipv6: Convert to use flowi6 where applicable.David S. Miller1-5/+5
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-2/+2
2010-10-24tproxy: Add missing CAP_NET_ADMIN check to ipv6 sideBalazs Scheidler1-0/+4
2010-10-21tproxy: added tproxy sockopt interface in the IPV6 layerBalazs Scheidler1-0/+23
2010-06-25ipv6: remove ipv6_statisticsEric Dumazet1-2/+0
2010-04-23IPv6: Add dontfrag argument to relevant functionsBrian Haley1-1/+2
2010-04-23IPv6: data structure changes for new socket optionsBrian Haley1-0/+46
2010-04-22IPv6: Generic TTL Security Mechanism (final version)Stephen Hemminger1-0/+12
2010-04-13net: sk_dst_cache RCUificationEric Dumazet1-12/+13
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2009-10-27Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+5
2009-10-19IP: CleanupsJohn Dykstra1-1/+1
2009-10-19net: Fix IP_MULTICAST_IFEric Dumazet1-1/+5
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-3/+3
2009-10-07Use sk_mark for IPv6 routing lookupsBrian Haley1-0/+1
2009-09-30net: Make setsockopt() optlen be unsigned.David S. Miller1-3/+3
2009-08-13inet6: Set default traffic classGerrit Renker1-0/+3
2009-08-13inet6: Conversion from u8 to intGerrit Renker1-2/+0
2009-04-14ipv6:remove useless checkYang Hongyang1-4/+0
2009-02-24ipv6: Remove some pointless conditionals before kfree_skb()Wei Yongjun1-2/+1
2009-01-04ipv6: IPV6_PKTINFO relied userspace providing correct lengthIlpo Järvinen1-1/+1
2008-12-16ipv6: fix the return interface index when get it while no message is receivedYang Hongyang1-4/+8
2008-12-16ipv6: Add IPV6_PKTINFO sticky option support to setsockopt()Yang Hongyang1-0/+22
2008-11-12ipv6: routing header fixesBrian Haley1-0/+5
2008-08-17ipv6: Fix the return interface index when get it while no message is received.Yang Hongyang1-2/+2
2008-08-03ipv6: Fix the return value of Set Hop-by-Hop options header with NULL data po...Yang Hongyang1-0/+2
2008-07-19ipv6 netns: Make several "global" sysctl variables namespace aware.YOSHIFUJI Hideaki1-1/+1
2008-07-19ipv6: remove unused parameter from ip6_ra_controlDenis V. Lunev1-5/+2
2008-06-28Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-4/+7
2008-06-19ipv6: Remove options header when setsockopt's optlen is 0Shan Wei1-4/+7
2008-06-13Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-4/+8
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-06-12ipv6: Fail with appropriate error code when setting not-applicable sockopt.YOSHIFUJI Hideaki1-4/+4
2008-06-12ipv6: Check IPV6_MULTICAST_LOOP option value.YOSHIFUJI Hideaki1-0/+2
2008-06-12ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER).YOSHIFUJI Hideaki1-0/+2
2008-06-05[IPV6]: Do not change protocol for UDPv6 sockets with pending sent data.Denis V. Lunev1-3/+8
2008-06-05[IPV6]: Do not change protocol for raw IPv6 sockets.Denis V. Lunev1-0/+3
2008-06-05[IPV6] NETNS: Handle ancillary data in appropriate namespace.YOSHIFUJI Hideaki1-1/+1
2008-06-05[IPV6]: Fix the data length of get destination options with short lengthYang Hongyang1-1/+1
2008-06-05[IPV6]: Fix the return value of get destination options with NULL data pointerYang Hongyang1-0/+3
2008-04-30ipv6: Compilation fix for compat MCAST_MSFILTER sockopts.Pavel Emelyanov1-4/+4
2008-04-29net: Add compat support for getsockopt (MCAST_MSFILTER)David L Stevens1-0/+4
2008-04-27ipv4/ipv6 compat: Fix SSM applications on 64bit kernels.David L Stevens1-0/+5
2008-04-13[IPV6]: Share common code-paths for sticky socket options.YOSHIFUJI Hideaki1-39/+25
2008-04-12[IPV6]: Check length of int/boolean optval provided by user in setsockopt().YOSHIFUJI Hideaki1-7/+61
2008-04-12[IPV6]: Check length of optval provided by user in setsockopt().Wang Chen1-2/+8
2008-04-11[IPV6]: Sparse: Reuse previous delaration where appropriate.YOSHIFUJI Hideaki1-3/+0
2008-04-05[IPV6] MROUTE: Support multicast forwarding.YOSHIFUJI Hideaki1-0/+7
2008-03-31[SOCK][NETNS]: Add a struct net argument to sock_prot_inuse_add and _get.Pavel Emelyanov1-4/+6
2008-03-26[NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-1/+1
2008-03-25[IPV6]: Support Source Address Selection API (RFC5014).YOSHIFUJI Hideaki1-0/+78
2008-03-25[IPV6]: Optimize hop-limit determination.YOSHIFUJI Hideaki1-3/+1
2008-03-07[NETNS][IPV6] fix some missing namespaceDaniel Lezcano1-1/+2