android_kernel_google_msm/drivers/net
Pavel Emelyanov 36640b6239 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.

Change-Id: I29fd08fa01a9522240ab654d436b02a577bb610c
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-27 14:52:48 +00:00
..
appletalk
arcnet
bonding
caif
can can: sja1000: clear interrupts on start 2016-10-26 23:15:32 +08:00
cris
dsa
ethernet Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
fddi
hamradio
hippi
hyperv
irda
phy broadcom: fix PHY_ID_BCM5481 entry in the id table 2016-10-26 23:15:30 +08:00
plip
ppp Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
slip ppp, slip: Validate VJ compression slot parameters completely 2016-03-21 09:17:54 +08:00
team
tokenring
usb Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
vmxnet3
wan wan/x25: Fix use-after-free in x25_asy_open_tty() 2016-10-26 23:15:33 +08:00
wimax
wireless net: wireless: bcmdhd: remove unsed WEXT file. 2018-02-16 20:15:06 -07:00
xen-netback xen-netback: use RING_COPY_REQUEST() throughout 2016-10-26 23:15:39 +08:00
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c net: Loopback ifindex is constant now 2018-08-27 14:52:48 +00:00
macvlan.c macvlan: fix leak in macvlan_handle_frame 2016-10-26 23:15:29 +08:00
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
veth.c
virtio_net.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
xen-netfront.c