diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-04-28 17:03:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-28 15:55:14 -0400 |
commit | 504926df6df5383cad25146de3ed0a45e02c0901 (patch) | |
tree | d65465e35a09096c7c82a700ed11bad07987002a /net/ipv4/netfilter/ipt_rpfilter.c | |
parent | 5577e679564702664aaecce3c96036ace3ab64fa (diff) |
cpsw/netcp: refine cpts dependency
Tony Lindgren reports a kernel oops that resulted from my compile-time
fix on the default config. This shows two problems:
a) configurations that did not already enable PTP_1588_CLOCK will
now miss the cpts driver
b) when cpts support is disabled, the driver crashes. This is a
preexisting problem that we did not notice before my patch.
While the second problem is still being investigated, this modifies
the dependencies again, getting us back to the original state, with
another 'select NET_PTP_CLASSIFY' added in to avoid the original
link error we got, and the 'depends on POSIX_TIMERS' to hide
the CPTS support when turning it on would be useless.
Cc: stable@vger.kernel.org # 4.11 needs this
Fixes: 07fef3623407 ("cpsw/netcp: cpts depends on posix_timers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ipt_rpfilter.c')
0 files changed, 0 insertions, 0 deletions