interface: teardown on l3_dev link lost.
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 19 May 2015 12:38:33 +0000 (20:38 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 23 May 2015 14:44:46 +0000 (16:44 +0200)
commitc68587663ef18fa87841be0a5281264361fab411
treee560c34e6bd2a0fc53d8129847c252ae2080e26f
parentedb414294c06fb9d275c9f3be2282283453a46d0
interface: teardown on l3_dev link lost.

This is mainly for shell protocols that has no_proto_task so that we can
still teardown and setup the interface on l3_dev link lost instead of
depending on running state of proto_task.

Also rename related callbacks for better clarification.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
interface.c