Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90405
b: refs/heads/master
c: 789e41e
h: refs/heads/master
i:
  90403: 5edd63c
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Mar 26, 2008
1 parent 1c9f7b3 commit 33ba7cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b34a95ee6e05579faff2672d7d30356576407653
refs/heads/master: 789e41e6f496022ac1639aaae38ea1943606a9d0
4 changes: 2 additions & 2 deletions trunk/net/ipv4/icmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ static void icmp_echo(struct sk_buff *skb)
{
struct net *net;

net = skb->dst->dev->nd_net;
net = dev_net(skb->dst->dev);
if (!net->ipv4.sysctl_icmp_echo_ignore_all) {
struct icmp_bxm icmp_param;

Expand Down Expand Up @@ -1027,7 +1027,7 @@ int icmp_rcv(struct sk_buff *skb)
if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) {
struct net *net;

net = rt->u.dst.dev->nd_net;
net = dev_net(rt->u.dst.dev);
/*
* RFC 1122: 3.2.2.6 An ICMP_ECHO to broadcast MAY be
* silently ignored (we let user decide with a sysctl).
Expand Down

0 comments on commit 33ba7cd

Please sign in to comment.