l2tp: Add ppp device name to L2TP ppp session data
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:18:44 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:03 +0000 (14:56 -0700)
commit9345471bca96d00d4196b3dcc4a5625f1bfae247
treeea35c7f3bed73c5bdba0fbbdac4566eafcf23edd
parent63f96072f9ba430aa348bc987c3d5a4f48bae301
l2tp: Add ppp device name to L2TP ppp session data

When dumping L2TP PPP sessions using /proc/net/pppol2tp, get the
assigned PPP device name from PPP using ppp_dev_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>
net/l2tp/l2tp_ppp.c