inet_diag: Switch the _get_exact to work with new header
authorPavel Emelyanov <xemul@parallels.com>
Tue, 6 Dec 2011 07:58:39 +0000 (07:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:58:01 +0000 (13:58 -0500)
commitfe50ce284616c3131e353ff7158002aa47a41a81
tree16e69dfc04c5a31f24665bd5f59b8cb8eff4da95
parent126fdc3249c9ced2a0d20f916858fec26a445f61
inet_diag: Switch the _get_exact to work with new header

Make inet_diag_get_exact work with given header instead of calculating
one from the nl message.

The SOCK_DIAG_BY_FAMILY just passes skb's one through, the compat code
converts the old header to new one.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c