compat: fix a crash in the netlink backport
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Oct 2010 17:41:45 +0000 (10:41 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 11 Oct 2010 17:41:45 +0000 (10:41 -0700)
commit5e389ef4f4b281e73815ec7661de75c53c2f5ae9
tree7c5ac6462eaf52ec29e6e7d89c41395dd0c1957d
parent10ae528628558aaac1278b88ce0732512cb0d9ec
compat: fix a crash in the netlink backport

Do not set the .doit wrapper if there is no .doit function.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
compat/compat-2.6.37.c