From 823e62397cdf738209db1a40d16996ae154fe8df Mon Sep 17 00:00:00 2001 From: Abhishek Bhardwaj Date: Thu, 22 Dec 2016 15:00:08 -0800 Subject: net: Add SIOCKILLADDR ioctl in the compatibility list SIOCKILLADDR is not present as an option in the compatibility list of supported ioctls. This means that a 32-bit binary gets a not supported error when it calls this ioctl on a 64-bit kernel. This change adds the SIOCKILLADDR to the compatibility list. BUG=b:32705013 TEST=Tested with Youtube Kids app as mentioned in the bug Change-Id: Ifad88e17b313f260cfdadf2b3a67601dce8928bc Reviewed-on: https://chromium-review.googlesource.com/423144 Commit-Ready: Abhishek Bhardwaj Tested-by: Abhishek Bhardwaj Reviewed-by: Kevin Cernekee --- net/socket.c | 1 + 1 file changed, 1 insertion(+) (limited to 'net/socket.c') diff --git a/net/socket.c b/net/socket.c index 9162d3bbc..ec1a2037d 100644 --- a/net/socket.c +++ b/net/socket.c @@ -3400,6 +3400,7 @@ static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, case SIOCGMIIPHY: case SIOCGMIIREG: case SIOCSMIIREG: + case SIOCKILLADDR: return dev_ifsioc(net, sock, cmd, argp); case SIOCSARP: -- cgit v1.2.3