aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index ea8f81abc45c..cf18c5eb592e 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1292,7 +1292,7 @@ asmlinkage long sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen)
1292 int err, fput_needed; 1292 int err, fput_needed;
1293 1293
1294 sock = sockfd_lookup_light(fd, &err, &fput_needed); 1294 sock = sockfd_lookup_light(fd, &err, &fput_needed);
1295 if(sock) { 1295 if (sock) {
1296 err = move_addr_to_kernel(umyaddr, addrlen, address); 1296 err = move_addr_to_kernel(umyaddr, addrlen, address);
1297 if (err >= 0) { 1297 if (err >= 0) {
1298 err = security_socket_bind(sock, 1298 err = security_socket_bind(sock,