diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-04-28 18:55:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-29 23:09:44 +0300 |
commit | 7d9f0b48746d37e4381efc02da27535a0a1bac43 (patch) | |
tree | 088b165870ef000dd9e77c5d42f48bf58b38decd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ac1f74a7fc197660f26b59395b3fd2468f59f5dc (diff) | |
download | linux-7d9f0b48746d37e4381efc02da27535a0a1bac43.tar.xz |
ppp: define reusable device creation functions
Move PPP device initialisation and registration out of
ppp_create_interface().
This prepares code for device registration with rtnetlink.
While there, simplify the prototype of ppp_create_interface():
* Since ppp_dev_configure() takes care of setting file->private_data,
there's no need to return a ppp structure to ppp_unattached_ioctl()
anymore.
* The unit parameter is made read/write so that ppp_create_interface()
can tell which unit number has been assigned.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions