From: Maxim Uvarov Date: Thu, 12 Jul 2012 14:51:22 +0000 (-0700) Subject: export devinet_ioctl X-Git-Tag: v2.6.39-400.9.0~490 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a13656ef1699c41d3d01426fb9584bec7cf001e2;p=users%2Fjedix%2Flinux-maple.git export devinet_ioctl 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 --- diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 7d7fb20b0a12..8bc2fede0793 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -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) {