]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
export devinet_ioctl
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 12 Jul 2012 14:51:22 +0000 (07:51 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 12 Jul 2012 15:44:09 +0000 (08:44 -0700)
Orabug: 14306942
RDS will be using devinet_ioctl() to implement IP failover/fallback for IB
devices to support active/active. This is an enhancement request to export
devinet_ioctl() so non-kernel modules such as RDS can use it.
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
net/ipv4/devinet.c

index 7d7fb20b0a12494bdabcd4baa5a57c527f80589e..8bc2fede0793d62ae36dac92b1635cca8b156979 100644 (file)
@@ -922,6 +922,7 @@ rarok:
        ret = copy_to_user(arg, &ifr, sizeof(struct ifreq)) ? -EFAULT : 0;
        goto out;
 }
+EXPORT_SYMBOL(devinet_ioctl);
 
 static int inet_gifconf(struct net_device *dev, char __user *buf, int len)
 {