tun: Update classid on packet injection
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 24 May 2010 07:14:10 +0000 (00:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 07:14:10 +0000 (00:14 -0700)
commit8286274284e15b11b0f531b6ceeef21fbe00a8dd
tree1e63dabdbc60f3409710cf58ed351e2a1f262941
parentf845172531fb7410c7fb7780b1a6e51ee6df7d52
tun: Update classid on packet injection

This patch makes tun update its socket classid every time we
inject a packet into the network stack.  This is so that any
updates made by the admin to the process writing packets to
tun is effected.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
net/core/sock.c