Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57423
b: refs/heads/master
c: 8d76527
h: refs/heads/master
i:
  57421: 6a98b33
  57419: 14d4fd0
  57415: ec145e9
  57407: 6b51bf8
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jun 7, 2007
1 parent ab370d0 commit 2ca2766
Show file tree
Hide file tree
Showing 2 changed files with 4 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: f0e48dbfc5c74e967fea4c0fd0c5ad07557ae0c8
refs/heads/master: 8d76527e728d00d1cf9d5dd663caffb2dcf05ae6
5 changes: 3 additions & 2 deletions trunk/net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,10 @@ static int inetdev_event(struct notifier_block *this, unsigned long event,
if (!in_dev) {
if (event == NETDEV_REGISTER) {
in_dev = inetdev_init(dev);
if (!in_dev)
panic("devinet: Failed to create loopback\n");
if (dev == &loopback_dev) {
if (!in_dev)
panic("devinet: "
"Failed to create loopback\n");
in_dev->cnf.no_xfrm = 1;
in_dev->cnf.no_policy = 1;
}
Expand Down

0 comments on commit 2ca2766

Please sign in to comment.