link: protect set/get config from doing damages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>