Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89803
b: refs/heads/master
c: 3776c88
h: refs/heads/master
i:
  89801: 01a4749
  89799: 295d1b4
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Feb 29, 2008
1 parent 9353ced commit bd93cba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 1937504dd156573a1883f10a5a167f3f78c6cb4a
refs/heads/master: 3776c8891a2d3c5892fa50ab9e2a3b68f5674be6
9 changes: 0 additions & 9 deletions trunk/net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,6 @@ static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg

ASSERT_RTNL();

if (net != &init_net)
return -EINVAL;

err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv4_policy);
if (err < 0)
goto errout;
Expand Down Expand Up @@ -560,9 +557,6 @@ static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg

ASSERT_RTNL();

if (net != &init_net)
return -EINVAL;

ifa = rtm_to_ifaddr(net, nlh);
if (IS_ERR(ifa))
return PTR_ERR(ifa);
Expand Down Expand Up @@ -1170,9 +1164,6 @@ static int inet_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb)
struct in_ifaddr *ifa;
int s_ip_idx, s_idx = cb->args[0];

if (net != &init_net)
return 0;

s_ip_idx = ip_idx = cb->args[1];
idx = 0;
for_each_netdev(net, dev) {
Expand Down

0 comments on commit bd93cba

Please sign in to comment.