The source code is if (nla_len(a) != sizeof(sizeof(struct in6_addr))) I'm surprised that compiles. Suggest remove one of the sizeofs.
A patch referencing this bug report has been merged in Linux v3.7-rc4: commit 2c42a3fb30845867bfcaf0747ff50c1375884ff2 Author: Julian Anastasov <ja@ssi.bg> Date: Tue Oct 30 12:03:09 2012 +0000 tcp: Fix double sizeof in new tcp_metrics code