In article <47ed01bd0705140253j2198a36fy2bd152debb95e436@xxxxxxxxxxxxxx> you wrote: > I just found out, SO_BINDTODEVICE requires root privs. Yes, very strange. Never noticed that before, because usually you have a server bind to a device and a priveledged port (as root). I think the SO_BINDTODEVICE does not need to require the CAP_NET_RAW, at least I dont see a reason for it. (and if there is a reason, then it should be documented in a comment*) Another question, if devname=NULL and devname="" it will both unbind the interface, however in the first case the sk_dst_reset() is not called. I fear for now, you need to do user mode filtering :-/ Greetings Bernd * http://lxr.linux.no/source/net/core/sock.c?v=2.6.20.1#L552 - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html