aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2015-03-21 03:14:03 +0000
committerDavid S. Miller <[email protected]>2015-03-21 04:16:39 +0000
commit8f2ddaac302a8ca364cb04efb19cd3b5cd058910 (patch)
tree162dcee7acf5194f04e0cd3ce444f7520f87553a /net/switchdev/switchdev.c
parentMerge branch 'netcp-next' (diff)
downloadkernel-8f2ddaac302a8ca364cb04efb19cd3b5cd058910.tar.gz
kernel-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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions