summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-03-21 14:14:03 +1100
committerDavid S. Miller <davem@davemloft.net>2015-03-21 00:16:39 -0400
commit8f2ddaac302a8ca364cb04efb19cd3b5cd058910 (patch)
tree162dcee7acf5194f04e0cd3ce444f7520f87553a /net/compat.c
parent69a3b16ff66201cb24a772a6e3009044ec582b12 (diff)
downloadlinux-stable-8f2ddaac302a8ca364cb04efb19cd3b5cd058910.tar.gz
linux-stable-8f2ddaac302a8ca364cb04efb19cd3b5cd058910.tar.bz2
linux-stable-8f2ddaac302a8ca364cb04efb19cd3b5cd058910.zip
netlink: Remove netlink_compare_arg.trailer
Instead of computing the offset from trailer, this patch computes netlink_compare_arg_len from the offset of portid and then adds 4 to it. This allows trailer to be removed. Reported-by: David Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions