net: filter: sk_chk_filter() no longer mangles filter
authorEric Dumazet <edumazet@google.com>
Sat, 12 Jul 2014 13:49:16 +0000 (15:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jul 2014 06:27:41 +0000 (23:27 -0700)
commitec31a05c4dfa95149b1754d9de92831a5a95c636
tree239b9a7ac53a864e45a9159faab20a4af077a489
parent66568b392539fc8224f4d7070a55d56e9d13c150
net: filter: sk_chk_filter() no longer mangles filter

Add const attribute to filter argument to make clear it is no
longer modified.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c