aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/raw.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-18Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets"Abhishek Chauhan1-1/+1
2024-03-08ipv6: raw: check sk->sk_rcvbuf earlierEric Dumazet1-0/+7
2024-03-05net: Re-use and set mono_delivery_time bit for userspace tstamp packetsAbhishek Chauhan1-1/+1
2024-02-28ipv6: raw: remove useless input parameter in rawv6_get/seticmpfilterZhengchao Shao1-4/+4
2024-02-27ipv6: raw: remove useless input parameter in rawv6_errZhengchao Shao1-3/+2
2023-12-11ipv6: annotate data-races around np->ucast_oifEric Dumazet1-1/+1
2023-12-11ipv6: annotate data-races around np->mcast_oifEric Dumazet1-1/+1
2023-10-20net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams.Heng Guo1-1/+1
2023-09-15ipv6: lockless IPV6_FLOWINFO_SEND implementationEric Dumazet1-1/+1
2023-09-15ipv6: lockless IPV6_MTU_DISCOVER implementationEric Dumazet1-1/+1
2023-09-15ipv6: lockless IPV6_RECVERR implemetationEric Dumazet1-5/+5
2023-09-15ipv6: lockless IPV6_DONTFRAG implementationEric Dumazet1-1/+1
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-1/+1
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-11/+5
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-07-29net: annotate data-races around sk->sk_priorityEric Dumazet1-1/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-2/+2
2023-07-24ipv6: remove hard coded limitation on ipv6_pinfoEric Dumazet1-0/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-8/+8
2023-05-23ipv{4,6}/raw: fix output xfrm lookup wrt protocolNicolas Dichtel1-1/+2
2023-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+4
2023-04-04raw: Fix NULL deref in raw_get_next().Kuniyuki Iwashima1-6/+4
2023-03-22netfilter: keep conntrack reference until IPsecv6 policy checks are doneMadhu Koriginja1-3/+2
2023-03-17ipv6: raw: constify raw_v6_match() socket argumentEric Dumazet1-1/+1
2023-02-03raw: use net_hash_mix() in hash functionEric Dumazet1-2/+2
2023-02-03ipv6: raw: add drop reasonsEric Dumazet1-5/+7
2023-01-11ipv6: raw: Deduct extension header length in rawv6_push_pending_framesHerbert Xu1-0/+4
2022-10-24inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().Kuniyuki Iwashima1-2/+0
2022-06-22raw: remove unused variables from raw6_icmp_error()Eric Dumazet1-3/+0
2022-06-20raw: Use helpers for the hlist_nulls variant.Kuniyuki Iwashima1-2/+2
2022-06-19raw: convert raw sockets to RCUEric Dumazet1-15/+13
2022-06-19raw: use more conventional iteratorsEric Dumazet1-67/+38
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-1/+1
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-2/+1
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp1-1/+2
2021-12-29ipv6: raw: check passed optlen before readingTamir Duberstein1-0/+3
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-04-05net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()Maciej Żenczykowski1-1/+1
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-08-20csum_partial_copy_nocheck(): drop the last argumentAl Viro1-1/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-5/+5
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-50/+0
2020-07-19net: remove compat_sock_common_{get,set}sockoptChristoph Hellwig1-2/+0
2020-05-18ipv6: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctlChristoph Hellwig1-0/+1
2020-03-12inet: Use fallthrough;Joe Perches1-4/+4
2019-12-04net: ipv6: add net argument to ip6_dst_lookup_flowSabrina Dubroca1-1/+1
2019-10-01netfilter: drop bridge nf reset from nf_resetFlorian Westphal1-1/+1
2019-09-13ip: support SO_MARK cmsgWillem de Bruijn1-1/+3
2019-07-08ipv6: elide flowlabel check if no exclusive leases existWillem de Bruijn1-2/+2
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-7/+18
2019-06-06ipv6: fix EFAULT on sendto with icmpv6 and hdrinclOlivier Matz1-5/+8
2019-06-06ipv6: use READ_ONCE() for inet->hdrincl as in ipv4Olivier Matz1-2/+10
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-21ipv6: Consider sk_bound_dev_if when binding a raw socket to an addressMike Manning1-0/+2
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-0/+1
2018-12-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2018-12-17net: add missing SOF_TIMESTAMPING_OPT_ID supportWillem de Bruijn1-1/+1
2018-12-17ipv6: add missing tx timestamping on IPPROTO_RAWWillem de Bruijn1-0/+2
2018-11-07net: fix raw socket lookup device bind matching with VRFsDuncan Eastoe1-3/+2
2018-10-05ipv6: take rcu lock in rawv6_send_hdrinc()Wei Wang1-9/+20
2018-07-07ipv6: fold sockcm_cookie into ipcm6_cookieWillem de Bruijn1-6/+4
2018-07-07ipv6: ipcm6_cookie initializerWillem de Bruijn1-4/+1
2018-07-04net: ipv6: Hook into time based transmissionJesus Sanchez-Palencia1-2/+5
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-2/+2
2018-06-04Merge branch 'work.aio-1' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-2/+2
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-15/+2
2018-05-16ipv{4,6}/raw: simplify ѕeq_file codeChristoph Hellwig1-2/+4
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-02-19net: Convert raw6_net_ops, udplite6_net_ops, ipv6_proc_ops, if6_proc_net_ops ...Kirill Tkhai1-0/+1
2018-02-03Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+2
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2018-01-15ip: Define usercopy region in IP proto slab cacheDavid Windsor1-0/+2
2017-10-18ipv6: mark expected switch fall-throughsGustavo A. R. Silva1-0/+4
2017-08-07net: ipv6: add second dif to raw socket lookupsDavid Ahern1-5/+8
2017-06-04net: ping: do not abuse udp_poll()Eric Dumazet1-1/+1
2017-05-04ipv4, ipv6: ensure raw socket message is big enough to hold an IP headerAlexander Potapenko1-0/+2
2017-04-26ipv6: check raw payload size correctly in ioctlJamie Bainbridge1-2/+1
2017-02-07net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TPJulian Anastasov1-1/+5
2016-12-23ipv6: handle -EFAULT from skb_copy_bitsDave Jones1-1/+5
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-0/+1
2016-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-10-23net: ip, diag -- Add diag interface for raw socketsCyrill Gorcunov1-2/+5
2016-10-20udp: must lock the socket in udp_disconnect()Eric Dumazet1-1/+1
2016-09-10net: l3mdev: Add hook to output pathDavid Ahern1-0/+7
2016-06-11ipv6: use TOS marks from sockets for routing decisionHannes Frederic Sowa1-3/+5
2016-05-03ipv6: add new struct ipcm6_cookieWei Wang1-15/+18
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-3/+2
2016-04-04ipv6: process socket-level control messages in IPv6Soheil Hassas Yeganeh1-1/+5
2015-12-17ipv6: add IPV6_HDRINCL option for raw socketsHannes Frederic Sowa1-4/+16
2015-12-02ipv6: add complete rcu protection around np->optEric Dumazet1-2/+6
2015-10-08net: Pass net into dst_output and remove dst_output_okfnEric W. Biederman1-1/+1
2015-09-17netfilter: Pass net into okfnEric W. Biederman1-1/+1
2015-09-17netfilter: Pass struct net into the netfilter hooksEric W. Biederman1-1/+1
2015-09-17ipv6: Compute net once in raw6_send_hdrincEric W. Biederman1-2/+3
2015-09-17net: Merge dst_output and dst_output_skEric W. Biederman1-1/+1
2015-07-09ipv6: Nonlocal bindTom Herbert1-1/+2
2015-05-30ipv6: drop unneeded gotoJulia Lawall1-7/+1
2015-05-25ipv6: Set FLOWI_FLAG_KNOWN_NH at flowi6_flagsMartin KaFai Lau1-0/+3
2015-04-07netfilter: Pass socket pointer down through okfn().David Miller1-2/+2
2015-03-31ipv6: coding style: comparison for inequality with NULLIan Morris1-2/+2
2015-03-31ipv6: coding style: comparison for equality with NULLIan Morris1-5/+5
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-5/+3
2015-02-21ipv6: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"Alex W Slater1-1/+1
2015-02-04net: switch memcpy_fromiovec()/memcpy_fromiovecend() users to copy_from_iter()Al Viro1-1/+1
2015-02-04ipv6: rawv6_send_hdrinc(): pass msghdrAl Viro1-4/+3
2014-12-09put iov_iter into msghdrAl Viro1-1/+2
2014-12-09ip_generic_getfrag, udplite_getfrag: switch to passing msghdrAl Viro1-1/+1
2014-12-09ipv6 equivalent of "ipv4: Avoid reading user iov twice after raw_probe_proto_...Al Viro1-56/+56
2014-11-24new helper: skb_copy_and_csum_datagram_msg()Al Viro1-1/+1
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller1-2/+2
2014-10-30ipv6: remove assignment in if conditionFabian Frederick1-1/+2
2014-08-24ipv6: White-space cleansing : Line LayoutsIan Morris1-4/+4
2014-07-31net: use inet6_iif instead of IP6CB()->iifDuan Jiong1-4/+4
2014-07-11net: ipv6: Use BUG_ONHimangi Saraogi1-4/+2
2014-05-23net: Eliminate no_check from protoswTom Herbert1-1/+0
2014-04-30net: ipv6: Introduce ip6_sk_dst_hoplimit.Lorenzo Colitti1-8/+2
2014-01-21ipv6: protect protocols not handling ipv4 from v4 connection/bind attemptsHannes Frederic Sowa1-1/+5
2014-01-18net: add build-time checks for msg->msg_name sizeSteffen Hurrle1-2/+2
2013-12-19Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+1
2013-12-10ipv6: do not erase dst address with flow label destinationFlorent Fourcot1-1/+0
2013-12-06net: Remove FLOWI_FLAG_CAN_SLEEPSteffen Klassert1-1/+1
2013-11-23inet: fix addr_len/msg->msg_namelen assignment in recv_error and rxpmtu funct...Hannes Frederic Sowa1-2/+2
2013-11-18inet: prevent leakage of uninitialized memory to user in recv syscallsHannes Frederic Sowa1-3/+1
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-9/+8
2013-09-24net: raw: do not report ICMP redirects to user spaceDuan Jiong1-1/+3
2013-09-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2013-08-26ipv6: set skb->protocol on tcp, raw and ip6_append_data genereated skbsHannes Frederic Sowa1-0/+1
2013-08-02icmpv6_filter: allow ICMPv6 messages with bodies < 4 bytesWerner Almesberger1-1/+6
2013-08-02icmpv6_filter: fix "_hdr" incorrectly being a pointerWerner Almesberger1-1/+1
2013-06-04net: ipv6: Unify {raw,udp}6_sock_seq_show.Lorenzo Colitti1-37/+8
2013-05-28ipv6: Correct comparisons and calculations using skb->tail and skb-transport_...Simon Horman1-1/+2
2013-03-08ipv6: use newly introduced __ipv6_addr_needs_scope_id and ipv6_iface_scope_idHannes Frederic Sowa1-5/+4
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+1
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-1/+1
2013-02-18net: proc: change proc_net_fops_create to proc_createGao feng1-1/+1
2013-01-31ipv6: rename datagram_send_ctl and datagram_recv_ctlTom Parkin1-3/+3
2012-11-01ipv6: use IS_ENABLED()Amerigo Wang1-3/+3
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+2
2012-09-25ipv6: raw: fix icmpv6_filter()Eric Dumazet1-11/+10
2012-08-14userns: Print out socket uids in a user namespace aware fashion.Eric W. Biederman1-1/+2
2012-07-12ipv6: Add redirect support to all protocol icmp error handlers.David S. Miller1-0/+2
2012-06-19inet: Sanitize inet{,6} protocol demux.David S. Miller1-2/+2
2012-06-15ipv6: Handle PMTU in ICMP error handlers.David S. Miller1-2/+3
2012-05-19ipv6: bool/const conversions phase2Eric Dumazet1-5/+5
2012-02-08ipv6: Implement IPV6_UNICAST_IF socket option.Erich E. Hoover1-0/+2
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet1-1/+1
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-5/+5
2011-11-18ipv6: Remove all uses of LL_ALLOCATED_SPACEHerbert Xu1-2/+4
2011-11-09ipv4: PKTINFO doesnt need dst referenceEric Dumazet1-1/+2
2011-10-31net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modulesPaul Gortmaker1-0/+1
2011-10-18ipv6: Fix IPsec slowpath fragmentation problemSteffen Klassert1-2/+1
2011-09-22Merge branch 'master' of github.com:davem330/netDavid S. Miller1-2/+2
2011-08-30net: relax PKTINFO non local ipv6 udp xmit checkMaciej Żenczykowski1-2/+2
2011-08-12net: cleanup some rcu_dereference_rawEric Dumazet1-2/+2
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger1-2/+2
2011-07-01ipv6: Reduce switch/case indentJoe Perches1-76/+69
2011-05-24net: convert %p usage to %pKDan Rosenberg1-1/+1
2011-05-06inet: Decrease overhead of on-stack inet_cork.David S. Miller1-2/+2
2011-04-22inet: constify ip headers and in6_addrEric Dumazet1-7/+7
2011-03-12net: Put fl6_* macros to struct flowi6 and use them again.David S. Miller1-3/+3
2011-03-12ipv6: Convert to use flowi6 where applicable.David S. Miller1-40/+39
2011-03-12net: Make flowi ports AF dependent.David S. Miller1-3/+3
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-10/+10
2011-03-01ipv6: Consolidate route lookup sequences.David S. Miller1-12/+3
2011-02-04Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+19
2011-02-03net: Provide compat support for SIOCGETMIFCNT_IN6 and SIOCGETSGCNT_IN6.David S. Miller1-0/+19
2011-01-20ipv6: raw: rcu annotationsEric Dumazet1-7/+7
2010-10-25net: add __rcu annotation to sk_filterEric Dumazet1-1/+1
2010-09-23net: return operator cleanupEric Dumazet1-6/+6
2010-06-10net-next: remove useless union keywordChangli Gao1-6/+6
2010-06-07raw: avoid two atomics in xmitEric Dumazet1-5/+7
2010-06-02ipv6: Refactor update of IPv6 flowi destination address for srcrt (RH) optionArnaud Ebalard1-8/+2
2010-05-10Merge branch 'master' of /repos/git/net-next-2.6Patrick McHardy1-3/+11
2010-04-28net: ip_queue_rcv_skb() helperEric Dumazet1-1/+1
2010-04-23IPv6: Complete IPV6_DONTFRAG supportBrian Haley1-0/+3
2010-04-23IPv6: Add dontfrag argument to relevant functionsBrian Haley1-2/+7
2010-04-20Merge branch 'master' of /repos/git/net-next-2.6Patrick McHardy1-0/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-25netfilter: ipv6: use NFPROTO values for NF_HOOK invocationJan Engelhardt1-2/+2
2010-01-17net: spread __net_init, __net_exitAlexey Dobriyan1-2/+2
2009-11-08ipv6: avoid dev_hold()/dev_put() in rawv6_bind()Eric Dumazet1-12/+11
2009-11-05net: drop capability from protocol definitionsEric Paris1-1/+0
2009-10-18net: sk_drops consolidation part 2Eric Dumazet1-1/+0
2009-10-18inet: rename some inet_sock fieldsEric Dumazet1-15/+15
2009-10-14net: sk_drops consolidationEric Dumazet1-2/+1
2009-10-12net: Generalize socket rx gap / receive queue overflow cmsgNeil Horman1-1/+1
2009-09-30net: Make setsockopt() optlen be unsigned.David S. Miller1-3/+3
2009-09-02ip: Report qdisc packet dropsEric Dumazet1-1/+3
2009-08-13inet6: Conversion from u8 to intGerrit Renker1-4/+1
2009-06-23ipv6: Use correct data types for ICMPv6 type and codeBrian Haley1-2/+2
2009-06-18net: correct off-by-one write allocations reportsEric Dumazet1-3/+4
2009-06-03net: skb->dst accessorsEric Dumazet1-1/+1
2009-04-27snmp: add missing counters for RFC 4293Neil Horman1-1/+1
2008-11-25netns xfrm: lookup in netnsAlexey Dobriyan1-1/+2
2008-10-08netns: add net parameter to IP6_INC_STATSDenis V. Lunev1-2/+2
2008-08-29ipv6: When we droped a packet, we should return NET_RX_DROP instead of 0Yang Hongyang1-3/+3
2008-07-19ipv6: remove unused parameter from ip6_ra_controlDenis V. Lunev1-1/+1