diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-28 14:40:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-28 14:40:49 -0400 |
commit | 6a06e5e1bb217be077e1f8ee2745b4c5b1aa02db (patch) | |
tree | 8faea23112a11f52524eb413f71b7b02712d8b53 /net/ipv4/devinet.c | |
parent | d9f72f359e00a45a6cd7cc2d5121b04b9dc927e1 (diff) | |
parent | 6672d90fe779dc0dfffe027c3ede12609df091c2 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/team/team.c
drivers/net/usb/qmi_wwan.c
net/batman-adv/bat_iv_ogm.c
net/ipv4/fib_frontend.c
net/ipv4/route.c
net/l2tp/l2tp_netlink.c
The team, fib_frontend, route, and l2tp_netlink conflicts were simply
overlapping changes.
qmi_wwan and bat_iv_ogm were of the "use HEAD" variety.
With help from Antonio Quartulli.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 7b00556e184b..2a6abc163ed2 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c | |||
@@ -722,7 +722,7 @@ int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) | |||
722 | break; | 722 | break; |
723 | 723 | ||
724 | case SIOCSIFFLAGS: | 724 | case SIOCSIFFLAGS: |
725 | ret = -EACCES; | 725 | ret = -EPERM; |
726 | if (!capable(CAP_NET_ADMIN)) | 726 | if (!capable(CAP_NET_ADMIN)) |
727 | goto out; | 727 | goto out; |
728 | break; | 728 | break; |
@@ -730,7 +730,7 @@ int devinet_ioctl(struct net *net, unsigned int cmd, void __user *arg) | |||
730 | case SIOCSIFBRDADDR: /* Set the broadcast address */ | 730 | case SIOCSIFBRDADDR: /* Set the broadcast address */ |
731 | case SIOCSIFDSTADDR: /* Set the destination address */ | 731 | case SIOCSIFDSTADDR: /* Set the destination address */ |
732 | case SIOCSIFNETMASK: /* Set the netmask for the interface */ | 732 | case SIOCSIFNETMASK: /* Set the netmask for the interface */ |
733 | ret = -EACCES; | 733 | ret = -EPERM; |
734 | if (!capable(CAP_NET_ADMIN)) | 734 | if (!capable(CAP_NET_ADMIN)) |
735 | goto out; | 735 | goto out; |
736 | ret = -EINVAL; | 736 | ret = -EINVAL; |