diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-15 11:43:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-15 11:43:53 -0400 |
commit | b48b63a1f6e26b0dec2c9f1690396ed4bcb66903 (patch) | |
tree | 8d9ad227c3a7d35cd78d40ecaf9bf59375dbd21a /net/socket.c | |
parent | 7f2e6a5d8608d0353b017a0fe15502307593734e (diff) | |
parent | 3f0c3c8fe30c725c1264fb6db8cc4b69db3a658a (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
net/netfilter/nfnetlink_log.c
net/netfilter/xt_LOG.c
Rather easy conflict resolution, the 'net' tree had bug fixes to make
sure we checked if a socket is a time-wait one or not and elide the
logging code if so.
Whereas on the 'net-next' side we are calculating the UID and GID from
the creds using different interfaces due to the user namespace changes
from Eric Biederman.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index 977c0f48c8d..c641549a13e 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -2677,7 +2677,7 @@ static int do_siocgstamp(struct net *net, struct socket *sock, | |||
2677 | err = sock_do_ioctl(net, sock, cmd, (unsigned long)&ktv); | 2677 | err = sock_do_ioctl(net, sock, cmd, (unsigned long)&ktv); |
2678 | set_fs(old_fs); | 2678 | set_fs(old_fs); |
2679 | if (!err) | 2679 | if (!err) |
2680 | err = compat_put_timeval(up, &ktv); | 2680 | err = compat_put_timeval(&ktv, up); |
2681 | 2681 | ||
2682 | return err; | 2682 | return err; |
2683 | } | 2683 | } |
@@ -2693,7 +2693,7 @@ static int do_siocgstampns(struct net *net, struct socket *sock, | |||
2693 | err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts); | 2693 | err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts); |
2694 | set_fs(old_fs); | 2694 | set_fs(old_fs); |
2695 | if (!err) | 2695 | if (!err) |
2696 | err = compat_put_timespec(up, &kts); | 2696 | err = compat_put_timespec(&kts, up); |
2697 | 2697 | ||
2698 | return err; | 2698 | return err; |
2699 | } | 2699 | } |