summaryrefslogtreecommitdiffstats
path: root/lib/pb-protocol
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-07-21 15:51:58 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-07-21 17:20:08 +0800
commit0adfe11dc0738321cdd529f30773899cc8f79855 (patch)
treef456887c66a18679f27940d34082bde40e9c3857 /lib/pb-protocol
parent20889c61bc0e6712c1cac5a0a6e9e8e9dff7cf84 (diff)
downloadtalos-petitboot-0adfe11dc0738321cdd529f30773899cc8f79855.tar.gz
talos-petitboot-0adfe11dc0738321cdd529f30773899cc8f79855.zip
discover: allow separate lifetimes for network interfaces and discover devices
We want the network code's network interfaces to (potentially) persist remove events. For example, discover devices may be removed by a user event (this happens during a udhcpc deconfig). In this case, we want the boot options to be removed, but the struct interface needs to stay present. This change adds network_(un)_register_device functions, to allow the device handler to detach from and attach to interfaces. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/pb-protocol')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud