diff options
author | Eric Dumazet <edumazet@google.com> | 2012-09-22 00:08:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:28:07 +0900 |
commit | a1b995a2f5c69ae3088b153ed5d095561ded6eb4 (patch) | |
tree | fadcf6b23722b7d2eae298431188a0751b1f43df /virt/kvm/kvm_main.c | |
parent | 1a6b2c9da08fe3dc1fa825dfefcc70010c088a35 (diff) | |
download | kernel_samsung_tuna-a1b995a2f5c69ae3088b153ed5d095561ded6eb4.zip kernel_samsung_tuna-a1b995a2f5c69ae3088b153ed5d095561ded6eb4.tar.gz kernel_samsung_tuna-a1b995a2f5c69ae3088b153ed5d095561ded6eb4.tar.bz2 |
ipv4: raw: fix icmp_filter()
[ Upstream commit ab43ed8b7490cb387782423ecf74aeee7237e591 ]
icmp_filter() should not modify its input, or else its caller
would need to recompute ip_hdr() if skb->head is reallocated.
Use skb_header_pointer() instead of pskb_may_pull() and
change the prototype to make clear both sk and skb are const.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions