]> git.baikalelectronics.ru Git - kernel.git/commit
ppp: Add ppp_dev_name() exported function
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:18:39 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:02 +0000 (14:56 -0700)
commitc5db811d0ebce0b5fe9a5978867ac1cd92a46208
tree7c210e4a03f09c12f302a8f4800e1258660c1068
parentb2079113577e9ce3ad5011353f8dc5a7149ec990
ppp: Add ppp_dev_name() exported function

ppp_dev_name() gives PPP users visibility of a ppp channel's device
name. This can be used by L2TP drivers to dump the assigned PPP
interface name.

Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
include/linux/ppp_channel.h