]> git.baikalelectronics.ru Git - kernel.git/commit
sock_diag: align nlattr properly when needed
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 26 Apr 2016 08:06:14 +0000 (10:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 16:00:48 +0000 (12:00 -0400)
commitfed55ebb4173f0c0615abdcbacd4ccd8b4855b3e
tree16ff8cec378c83d80cb395c152af472fa9fdb3de
parent5935ed0a85f4a21faecf57467e63e174e62fcc12
sock_diag: align nlattr properly when needed

I also fix the value of INET_DIAG_MAX. It's wrong since commit 5b395b12047b
which is only in net-next right now, thus I didn't make a separate patch.

Fixes: 5b395b12047b ("sctp: add the sctp_diag.c file")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/inet_diag.h
net/core/sock_diag.c
net/ipv4/inet_diag.c
net/sctp/sctp_diag.c