]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit579850ad484d06b514534caef066da352070c989
tree16e69dfc04c5a31f24665bd5f59b8cb8eff4da95
parentbb8d18a4d229c37a0c930b1c88b24130bfc0b580
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