[PPPOE]: Use ifindex instead of device pointer in key lookups.
authorFlorian Zumbiehl <florz@gmx.de>
Mon, 5 Mar 2007 00:03:22 +0000 (16:03 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 5 Mar 2007 21:25:28 +0000 (13:25 -0800)
commit6f30e1867cb73602c6ed7f97e15a48e0a0c96cde
tree4715c38e7555c42b92dbb8cf27afcde68a144cb8
parentbc5f77434721a84705601e4d448d331c73900759
[PPPOE]: Use ifindex instead of device pointer in key lookups.

Otherwise we can potentially try to dereference a NULL device
pointer in some cases.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c
include/linux/if_pppox.h