]> git.baikalelectronics.ru Git - kernel.git/commit
sock: support per-packet fwmark
authorEdward Jee <edjee@google.com>
Thu, 8 Oct 2015 21:56:48 +0000 (14:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 02:25:21 +0000 (19:25 -0700)
commitf932d43c747c809632d30e02c51c64e5f45e2916
tree136f458e3435a79f3b5048b62dcd3c884ff644f2
parent2e5453a8cfe4d1e5478267ae507448a24231fe13
sock: support per-packet fwmark

It's useful to allow users to set fwmark for an individual packet,
without changing the socket state. The function this patch adds in
sock layer can be used by the protocols that need such a feature.

Signed-off-by: Edward Hyunkoo Jee <edjee@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c