diff options
| author | 2012-08-08 21:53:36 +0000 | |
|---|---|---|
| committer | 2012-08-09 16:18:07 -0700 | |
| commit | 1fb9489bf190ce2b3fc03891f3de4b2d30600e28 (patch) | |
| tree | da4e17036949e72ae0b1f0fc3b6b31557de18353 /tools/lib/python | |
| parent | net: Make ifindex generation per-net namespace (diff) | |
net: Loopback ifindex is constant now
As pointed out, there are places, that access net->loopback_dev->ifindex
and after ifindex generation is made per-net this value becomes constant
equals 1. So go ahead and introduce the LOOPBACK_IFINDEX constant and use
it where appropriate.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
