diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-03-07 14:56:12 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-07 14:56:12 -0800 |
commit | 850a9a4e3c019ce67e3bc29c810ac213ec4c169e (patch) | |
tree | e5ecac1ef9c88cdfabea26de440158b526afbe8a /net/packet | |
parent | d0b004840bd3b5ff2f2a0ad14fa0bd43349f5175 (diff) | |
download | op-kernel-dev-850a9a4e3c019ce67e3bc29c810ac213ec4c169e.zip op-kernel-dev-850a9a4e3c019ce67e3bc29c810ac213ec4c169e.tar.gz |
[NETFILTER] ip_queue: Fix wrong skb->len == nlmsg_len assumption
The size of the skb carrying the netlink message is not
equivalent to the length of the actual netlink message
due to padding. ip_queue matches the length of the payload
against the original packet size to determine if packet
mangling is desired, due to the above wrong assumption
arbitary packets may not be mangled depening on their
original size.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions