diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c index bfbde200b743..224e7f73fdf0 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -2746,7 +2746,10 @@ static int dev_ifsioc(struct net *net, struct socket *sock, | |||
2746 | case SIOCGIFBRDADDR: | 2746 | case SIOCGIFBRDADDR: |
2747 | case SIOCGIFDSTADDR: | 2747 | case SIOCGIFDSTADDR: |
2748 | case SIOCGIFNETMASK: | 2748 | case SIOCGIFNETMASK: |
2749 | case SIOCGIFPFLAGS: | ||
2749 | case SIOCGIFTXQLEN: | 2750 | case SIOCGIFTXQLEN: |
2751 | case SIOCGMIIPHY: | ||
2752 | case SIOCGMIIREG: | ||
2750 | if (copy_to_user(uifr32, &ifr, sizeof(*uifr32))) | 2753 | if (copy_to_user(uifr32, &ifr, sizeof(*uifr32))) |
2751 | return -EFAULT; | 2754 | return -EFAULT; |
2752 | break; | 2755 | break; |