summaryrefslogtreecommitdiff
path: root/pcap_rw.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-04-21 12:04:13 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2015-04-21 12:04:13 +0200
commit264ef01ddd743c8832fcc142b460fc13dc749138 (patch)
treeb3b76f3924664617378793a69214e0ab97c63057 /pcap_rw.c
parentf00d4d54f28c0374cc57e6ca07dd648d7684c69c (diff)
doc: authors: add Michal as contributor
Add Michal for commit f00d4d54f28 ("netsniff-ng: add packet fanout support"). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'pcap_rw.c')
0 files changed, 0 insertions, 0 deletions
REAL_LE always. In practice that seems not to matter because all the modern cpus which have this property also implement REAL_LE, and we've never needed to disable it. We're also incorrectly setting MMU feature bit 1, which is: #define MMU_FTR_TYPE_8xx 0x00000002 Luckily the only place that looks for MMU_FTR_TYPE_8xx is in Book3E code, which can't run on the same cpus as scan_features(). So this also doesn't matter in practice. Finally in the CPU user feature mask, we're setting bits 0 and 2. Bit 2 is not currently used, and bit 0 is: #define PPC_FEATURE_PPC_LE 0x00000001 Which says the CPU supports the old style "PPC Little Endian" mode. Again this should be harmless in practice as no 64-bit CPUs implement that mode. Fix the code by adding the missing initialisation of the MMU feature. Also add a comment marking CPU user feature bit 2 (0x4) as reserved. It would be unsafe to start using it as old kernels incorrectly set it. Fixes: 44ae3ab3358e ("powerpc: Free up some CPU feature bits by moving out MMU-related features") Signed-off-by: Anton Blanchard <anton@samba.org> Cc: stable@vger.kernel.org [mpe: Flesh out changelog, add comment reserving 0x4] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/devicetree')