ipv6 addrlabel: permit deletion of labels assigned to removed dev
authorFlorian Westphal <fw@strlen.de>
Fri, 7 May 2010 11:31:33 +0000 (11:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:08:08 +0000 (17:08 -0700)
commit0771275b25e84f568699a5d209c5e339ef83fa94
tree4cd6a8f4c399d3e639e810aac87242060a860a24
parent6811d58fc148c393f80a9f5a9db49d7e75cdc546
ipv6 addrlabel: permit deletion of labels assigned to removed dev

as addrlabels with an interface index are left alone when the
interface gets removed this results in addrlabels that can no
longer be removed.

Restrict validation of index to adding new addrlabels.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrlabel.c