Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224798
b: refs/heads/master
c: f7fce74
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 6, 2010
1 parent c6a32a0 commit 430cd00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06a9701f4b3e3381dea96fee1cc8a3bb41b0a1f1
refs/heads/master: f7fce74e387e0563e5a165704664aa5ee8b2f48b
8 changes: 4 additions & 4 deletions trunk/net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh,

static size_t inet_get_link_af_size(const struct net_device *dev)
{
struct in_device *in_dev = __in_dev_get_rcu(dev);
struct in_device *in_dev = __in_dev_get_rtnl(dev);

if (!in_dev)
return 0;
Expand All @@ -1268,7 +1268,7 @@ static size_t inet_get_link_af_size(const struct net_device *dev)

static int inet_fill_link_af(struct sk_buff *skb, const struct net_device *dev)
{
struct in_device *in_dev = __in_dev_get_rcu(dev);
struct in_device *in_dev = __in_dev_get_rtnl(dev);
struct nlattr *nla;
int i;

Expand All @@ -1295,7 +1295,7 @@ static int inet_validate_link_af(const struct net_device *dev,
struct nlattr *a, *tb[IFLA_INET_MAX+1];
int err, rem;

if (dev && !__in_dev_get_rcu(dev))
if (dev && !__in_dev_get_rtnl(dev))
return -EAFNOSUPPORT;

err = nla_parse_nested(tb, IFLA_INET_MAX, nla, inet_af_policy);
Expand All @@ -1319,7 +1319,7 @@ static int inet_validate_link_af(const struct net_device *dev,

static int inet_set_link_af(struct net_device *dev, const struct nlattr *nla)
{
struct in_device *in_dev = __in_dev_get_rcu(dev);
struct in_device *in_dev = __in_dev_get_rtnl(dev);
struct nlattr *a, *tb[IFLA_INET_MAX+1];
int rem;

Expand Down

0 comments on commit 430cd00

Please sign in to comment.