]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: payload_len is be16, add size of struct rather than size of pointer
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 11 Nov 2008 00:46:06 +0000 (16:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 00:46:06 +0000 (16:46 -0800)
commitc3c3e846c9b84df9f621524adf7e2f3eba6058b6
tree89697247a2995d339eef39081b72461402b8f965
parent613b93aca1ebfb4fd751e14150a4141433c99b9e
netfilter: payload_len is be16, add size of struct rather than size of pointer

payload_len is a be16 value, not cpu_endian, also the size of a ponter
to a struct ipv6hdr was being added, not the size of the struct itself.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/ipvs/ip_vs_xmit.c