From 136760275f4d9594b187cb659a3faf33edd26ffa Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Mon, 21 Jul 2014 17:00:51 +0400 Subject: ipoe: fixed removing ip from exclude list --- drivers/ipoe/ipoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 04fc711..cee7edb 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -1680,7 +1680,7 @@ static int ipoe_nl_cmd_del_exclude(struct sk_buff *skb, struct genl_info *info) if (!info->attrs[IPOE_ATTR_ADDR]) return -EINVAL; - addr = ntohl(nla_get_u32(info->attrs[IPOE_ATTR_ADDR])); + addr = nla_get_u32(info->attrs[IPOE_ATTR_ADDR]); if (!addr) { clean_excl_list(); return 0; -- cgit v1.2.3