]> git.baikalelectronics.ru Git - kernel.git/commit
net: ptp: mark filter as __initdata
authorMathias Krause <minipli@googlemail.com>
Sat, 10 May 2014 20:23:28 +0000 (22:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2014 17:17:24 +0000 (13:17 -0400)
commit1a63b485666838b6bd9595cf3cdff6df60a34eb6
treedce8c7408b8755c1a3a942a9bbe6558d36ee0b9e
parentd09ef137099354da88d86117b5e1af792fb6e15d
net: ptp: mark filter as __initdata

sk_unattached_filter_create() will copy the filter's instructions so we
don't need to have the master copy hanging around after initialization.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ptp_classifier.c