netfilter: xtables: limit xt_mac to ethernet devices
authorJan Engelhardt <jengelh@medozas.de>
Tue, 16 Mar 2010 20:44:44 +0000 (21:44 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 18 Mar 2010 13:20:06 +0000 (14:20 +0100)
commite5042a290097b7c2fc9b6a247585b6ed07b13026
treeb5eae5b4eb0c45c93fb4c752c164419c7e01535e
parent1d1c397db95f1c0cd95f6fa633c1e68acfaacec3
netfilter: xtables: limit xt_mac to ethernet devices

I do not see a point of allowing the MAC module to work with devices
that don't possibly have one, e.g. various tunnel interfaces such as
tun and sit.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
net/netfilter/xt_mac.c