aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
AgeCommit message (Expand)AuthorFilesLines
2017-11-15kmemcheck: remove annotationsLevin, Alexander (Sasha Levin)1-1/+0
2017-08-16net: fixes for skb_send_sockJohn Fastabend1-1/+1
2017-08-01proto_ops: Add locked held versions of sendmsg and sendpageTom Herbert1-0/+27
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2017-07-25socket: fix set not used warningstephen hemminger1-4/+2
2017-07-24net/socket: fix type in assignment and trim long linePaolo Abeni1-2/+3
2017-07-15Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-17/+14
2017-07-05Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+1
2017-07-04copy_msghdr_from_user(): get rid of field-by-field copyinAl Viro1-17/+14
2017-06-14fs/fcntl: f_setown, allow returning errorJiri Slaby1-2/+1
2017-05-22net: socket: fix a typo in sockfd_lookup().Rosen, Rami1-1/+1
2017-05-21net: allow simultaneous SW and HW transmit timestampingMiroslav Lichvar1-2/+18
2017-05-21net: add new control message for incoming HW-timestamped packetsMiroslav Lichvar1-1/+26
2017-04-17l2tp: device MTU setup, tunnel socket needs a lockR. Parameswaran1-1/+1
2017-04-06New kernel function to get IP overhead on a socket.R. Parameswaran1-0/+46
2017-03-21tcp: mark skbs with SCM_TIMESTAMPING_OPT_STATSSoheil Hassas Yeganeh1-1/+1
2017-03-21tcp: fix SCM_TIMESTAMPING_OPT_STATS for normal skbsSoheil Hassas Yeganeh1-1/+12
2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells1-2/+2
2017-03-09net: initialize msg.msg_flags in recvfromAlexander Potapenko1-0/+1
2017-02-21net: socket: fix recvmmsg not returning error from sock_errorMaxime Jayat1-1/+3
2017-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-01-10net: socket: Make unnecessarily global sockfs_setattr() staticTobias Klauser1-1/+1
2017-01-09net: change init_inodecache() return voidyuan linyu1-4/+2
2017-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-01-04net: Assert at build time the assumptions we make about the CMSG header.David S. Miller1-0/+2
2017-01-01net: socket: don't set sk_uid to garbage value in ->setattr()Eric Biggers1-1/+1
2016-12-25ktime: Get rid of the unionThomas Gleixner1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-10net: socket: removed an unnecessary newlineAmit Kushwaha1-1/+0
2016-12-08net: socket: preferred __aligned(size) for control bufferAmit Kushwaha1-1/+2
2016-11-30tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPINGFrancis Yan1-1/+6
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+15
2016-11-17xattr: Fix setting security xattrs on sockfsAndreas Gruenbacher1-0/+15
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2016-11-09sock: fix sendmmsg for partial sendmsgSoheil Hassas Yeganeh1-0/+2
2016-11-04net: core: Add a UID field to struct sock.Lorenzo Colitti1-0/+14
2016-10-31net: add an ioctl to get a socket network namespaceAndrey Vagin1-0/+13
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-1/+0
2016-10-06sockfs: Get rid of getxattr iopAndreas Gruenbacher1-20/+30
2016-10-06sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute namesAndreas Gruenbacher1-18/+6
2016-05-19fs: poll/select/recvmmsg: use timespec64 for timeout eventsDeepa Dinamani1-3/+5
2016-05-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-21/+15
2016-04-28tcp: remove SKBTX_ACK_TSTAMP since it is redundantSoheil Hassas Yeganeh1-3/+0
2016-04-14Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...David S. Miller1-13/+10
2016-04-11->getxattr(): pass dentry and inode as separate argumentsAl Viro1-1/+1
2016-04-07net: introduce lockdep_is_held and update various places to use itHannes Frederic Sowa1-1/+1
2016-04-04sock: enable timestamping using control messagesSoheil Hassas Yeganeh1-5/+5
2016-03-28[net] drop 'size' argument of sock_recvmsg()Al Viro1-13/+10
2016-03-14net: Fix use after free in the recvmmsg exit pathArnaldo Carvalho de Melo1-19/+19
2016-03-13net: socket: use pr_info_once to tip the obsolete usage of PF_PACKETliping.zhang1-6/+2
2016-03-09net: Add MSG_BATCH flagTom Herbert1-0/+5
2016-03-09net: Allow MSG_EOR in each msghdr of sendmmsgTom Herbert1-4/+6
2016-03-09net: Make sock_alloc exportableTom Herbert1-1/+2
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2016-01-10net: add scheduling point in recvmmsg/sendmmsgEric Dumazet1-0/+2
2015-12-30net, socket, socket_wq: fix missing initialization of flagsNicolai Stange1-0/+1
2015-12-15net: fix uninitialized variable issuetadeusz.struk@intel.com1-0/+1
2015-12-01net: fix sock_wake_async() rcu protectionEric Dumazet1-14/+7
2015-12-01net: rename SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATAEric Dumazet1-2/+2
2015-09-29net: Drop unlikely before IS_ERR(_OR_NULL)Viresh Kumar1-3/+3
2015-05-11net: Add a struct net parameter to sock_create_kernEric W. Biederman1-2/+2
2015-05-11tun: Utilize the normal socket network namespace refcounting.Eric W. Biederman1-3/+0
2015-04-15VFS: net/: d_inode() annotationsDavid Howells1-3/+3
2015-04-11make new_sync_{read,write}() staticAl Viro1-2/+0
2015-04-11new helper: msg_data_left()Al Viro1-2/+2
2015-04-11get rid of the size argument of sock_sendmsg()Al Viro1-13/+14
2015-04-09switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()Al Viro1-17/+3
2015-04-09net: switch importing msghdr from userland to {compat_,}import_iovec()Al Viro1-19/+12
2015-04-09net: switch sendto() and recvfrom() to import_single_range()Al Viro1-16/+8
2015-04-09Merge branch 'iocb' into for-davemAl Viro1-3/+3
2015-03-23net: socket: add support for async operationstadeusz.struk@intel.com1-2/+6
2015-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+4
2015-03-20net: validate the range we feed to iov_iter_init() in sys_sendto/sys_recvfromAl Viro1-0/+4
2015-03-13fs: don't allow to complete sync iocbs through aio_completeChristoph Hellwig1-6/+3
2015-03-12fs: remove ki_nbytesChristoph Hellwig1-3/+3
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue1-65/+13
2015-03-02net: move skb->dropcount to skb->cb[]Eyal Birger1-2/+2
2015-02-04net: switch sockets to ->read_iter/->write_iterAl Viro1-29/+27
2015-02-04net/socket.c: fold do_sock_{read,write} into callersAl Viro1-35/+21
2015-01-28net: remove sock_iocbChristoph Hellwig1-41/+4
2015-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+0
2015-01-27net: don't OOPS on socket aioChristoph Hellwig1-3/+0
2015-01-17socket: use ki_nbytes instead of iov_length()Nicolas Dichtel1-6/+4
2015-01-15socket: use iov_length()Nicolas Dichtel1-10/+2
2014-12-19[regression] chunk lost from bd9b51Al Viro1-1/+0
2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-19/+0
2014-12-10make default ->i_fop have ->open() fail with ENXIOAl Viro1-19/+0
2014-12-09put iov_iter into msghdrAl Viro1-15/+12
2014-12-09net/socket.c : introduce helper function do_sock_sendmsg to replace reduplica...Gu Zheng1-12/+10
2014-11-19fold verify_iovec() into copy_msghdr_from_user()Al Viro1-40/+53
2014-11-19{compat_,}verify_iovec(): switch to generic copying of iovecsAl Viro1-30/+8
2014-11-19separate kernel- and userland-side msghdrAl Viro1-13/+16
2014-10-11Merge tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linuxLinus Torvalds1-1/+2
2014-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2014-09-09net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr stru...Ani Sinha1-0/+3
2014-09-09net-timestamp: optimize sock_tx_timestamp default pathWillem de Bruijn1-5/+2
2014-09-09security: make security_file_set_fowner, f_setown and __f_setown void returnJeff Layton1-1/+2
2014-09-05net: treewide: Fix typo found in DocBook/networking.xmlMasanari Iida1-1/+1
2014-09-05net-timestamp: only report sw timestamp if reporting bit is setWillem de Bruijn1-2/+1
2014-08-06net-timestamp: sock_tx_timestamp() fixEric Dumazet1-7/+13
2014-08-05net-timestamp: ACK timestamp for bytestreamsWillem de Bruijn1-0/+2
2014-08-05net-timestamp: SCHED timestamp on entering packet schedulerWillem de Bruijn1-0/+3
2014-08-05net-timestamp: move timestamp flags out of sk_flagsWillem de Bruijn1-4/+4
2014-08-05net-timestamp: extend SCM_TIMESTAMPING ancillary data structWillem de Bruijn1-9/+11
2014-07-29net: remove deprecated syststamp timestampWillem de Bruijn1-8/+4
2014-04-16net: use SYSCALL_DEFINEx for sys_recvJan Glauber1-2/+2
2014-04-01net: ptp: move PTP classifier in its own fileDaniel Borkmann1-3/+2
2014-03-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+11
2014-03-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-0/+4
2014-03-12net: socket: error on a negative msg_namelenMatthew Leach1-0/+4
2014-03-10sockfd_lookup_light(): switch to fdget^W^Waway from fget_lightAl Viro1-6/+7
2014-02-13socket: replace some printk with pr_*Yang Yingliang1-7/+6
2013-12-10net: handle error more gracefully in socketpair()Yann Droneaud1-18/+31
2013-12-05Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git...David S. Miller1-48/+9
2013-11-29net: clamp ->msg_namelen instead of returning an errorDan Carpenter1-1/+1
2013-11-20net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct sockaddr_sto...Hannes Frederic Sowa1-1/+2
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa1-8/+11
2013-11-19net_tstamp: Add SIOCGHWTSTAMP ioctl to match SIOCSHWTSTAMPBen Hutchings1-0/+1
2013-11-18net/compat: Merge multiple implementations of ifreq::ifr_data conversionBen Hutchings1-43/+6
2013-11-18net/compat: Fix minor information leak in siocdevprivate_ioctl()Ben Hutchings1-5/+2
2013-10-03net: heap overflow in __audit_sockaddr()Dan Carpenter1-4/+20
2013-09-13Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-12/+3
2013-09-11kernel-wide: fix missing validations on __get/__put/__copy_to/__copy_from_user()Mathieu Desnoyers1-25/+25
2013-08-01net: rename CONFIG_NET_LL_RX_POLL to CONFIG_NET_RX_BUSY_POLLCong Wang1-1/+1
2013-07-30aio: Kill ki_dtorKent Overstreet1-11/+2
2013-07-30aio: Kill aio_rw_vect_retry()Kent Overstreet1-1/+1
2013-07-10net: rename busy poll socket op and globalsEliezer Tamir1-2/+2
2013-07-10net: rename include/net/ll_poll.h to include/net/busy_poll.hEliezer Tamir1-1/+1
2013-07-08net: rename low latency sockets functions to busy pollEliezer Tamir1-6/+6
2013-06-25net: poll/select low latency socket supportEliezer Tamir1-1/+13
2013-06-17net: add socket option for low latency pollingEliezer Tamir1-1/+0
2013-06-17net: change sysctl_net_ll_poll into an unsigned intEliezer Tamir1-1/+1
2013-06-10net: add low latency socket pollEliezer Tamir1-0/+6
2013-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-39/+33
2013-06-06net: Unbreak compat_sys_{send,recv}msgAndy Lutomirski1-39/+33
2013-06-06Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/...David S. Miller1-1/+3
2013-05-28net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msgAndy Lutomirski1-2/+31
2013-05-23netfilter: don't panic on error while walking through the init pathPablo Neira Ayuso1-1/+3
2013-05-11Merge git://git.infradead.org/users/eparis/auditLinus Torvalds1-2/+4
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-9/+0
2013-04-29sock_close() couldn't have been called with NULL inode since at least 2.1.earlyAl Viro1-9/+0
2013-04-19net: socket: move ktime2ts to ktime header apiDaniel Borkmann1-16/+4
2013-04-14net: sock: make sock_tx_timestamp voidDaniel Borkmann1-2/+1
2013-04-10kernel: audit: beautify code, for extern function, better to check its parame...Chen Gang1-2/+4
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+2
2013-02-26get_empty_filp()/alloc_file() leave both ->f_pos and ->f_version zeroAl Viro1-1/+0
2013-02-22fs: Preserve error code in get_empty_filp(), part 2Anatol Pomozov1-2/+2
2013-02-11ethtool: fix sparse warningStephen Hemminger1-9/+9
2013-01-31wanrouter: completely decouple obsolete code from kernel.Paul Gortmaker1-1/+0
2012-10-26cgroup: net_cls: Rework update socket logicDaniel Wagner1-8/+0
2012-10-26cgroup: net_cls: Pass in task to sock_update_classid()Daniel Wagner1-4/+4
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-26/+42
2012-09-27net: remove sk_init() helperEric Dumazet1-6/+0
2012-09-26unexport sock_map_fd(), switch to sock_alloc_file()Al Viro1-3/+3
2012-09-26take descriptor handling from sock_alloc_file() to callersAl Viro1-22/+40
2012-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2012-09-05Fix order of arguments to compat_put_time[spec|val]Mikulas Patocka1-2/+2
2012-09-04net: Providing protocol type via system.sockprotoname xattr of /proc/PID/fd e...Masatake YAMATO1-5/+78
2012-08-15net: fix info leak in compat dev_ifconf()Mathias Krause1-0/+1
2012-07-22net: netprio_cgroup: rework update socket logicJohn Fastabend1-3/+2
2012-07-20tun: fix a crash bug and a memory leakMikulas Patocka1-0/+3
2012-05-22Merge branch 'for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/pe...Linus Torvalds1-2/+2
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-2/+1
2012-05-14net: replace percpu_xxx funcs with this_cpu_xxx or __this_cpu_xxxAlex Shi1-2/+2
2012-04-21net: change big iov allocationsEric Dumazet1-21/+16
2012-04-20net sysctl: Initialize the network sysctls sooner to avoid problems.Eric W. Biederman1-0/+6
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-9/+9
2012-04-05tcp: tcp_sendpages() should call tcp_push() onceEric Dumazet1-3/+3
2012-03-29Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-10/+8
2012-03-11net: get rid of some pointless casts to sockaddrMaciej Żenczykowski1-22/+14
2012-02-20compat: Handle COMPAT_USE_64BIT_TIME in net/socket.cH. Peter Anvin1-10/+8
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet1-1/+1
2012-01-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+21
2012-01-05vfs: fix up ENOIOCTLCMD error handlingLinus Torvalds1-15/+1
2012-01-04ethtool: Allow drivers to select RX NFC rule locationsBen Hutchings1-1/+1
2011-11-22net: add network priority cgroup infrastructure (v4)Neil Horman1-0/+2
2011-11-09net: add wireless TX status socket optionJohannes Berg1-0/+18
2011-09-22Merge branch 'master' of github.com:davem330/netDavid S. Miller1-4/+6
2011-08-24sendmmsg/sendmsg: fix unsafe user pointer accessMathieu Desnoyers1-4/+6
2011-08-07Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-33/+40
2011-08-05net: Fix security_socket_sendmsg() bypass problem.Tetsuo Handa1-9/+34
2011-08-05net: Cap number of elements for sendmmsgAnton Blanchard1-0/+3
2011-08-05net: sendmmsg should only return an error if no messages were sentAnton Blanchard1-24/+3
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger1-2/+2
2011-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2011-07-27net: sock_sendmsg_nosec() is staticEric Dumazet1-1/+1
2011-07-26vfs: dont chain pipe/anon/socket on superblock s_inodes listEric Dumazet1-1/+1
2011-05-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-52/+167
2011-05-17Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+4
2011-05-17net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsgAnton Blanchard1-2/+4
2011-05-07net,rcu: convert call_rcu(wq_free_rcu) to kfree_rcu()Lai Jiangshan1-10/+1
2011-05-05net: Add sendmmsg socket system callAnton Blanchard1-43/+156
2011-04-11Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2011-04-11v3 ethtool: add ntuple flow specifier data to network flow classifierAlexander Duyck1-7/+7
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2011-03-18ethtool: Compat handling for struct ethtool_rxnfcBen Hutchings1-7/+107
2011-02-23socket: suppress sparse warningsstephen hemminger1-3/+5
2011-02-22net: add __rcu annotations to sk_wq and wqEric Dumazet1-9/+14
2011-01-12pass default dentry_operations to mount_pseudo()Al Viro1-15/+15
2011-01-07Merge branch 'vfs-scale-working' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+20