summaryrefslogtreecommitdiff
path: root/drivers/ipoe/ipoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ipoe/ipoe.c')
-rw-r--r--drivers/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
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;