X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=drivers%2Fnet%2Ftun.c;h=6ad6fe706312ff4c2cff31034b37428275e2f230;hp=005cad6895786099bde8c676c62e9d3e23fa20f0;hb=b1cdc4670b9508fcd47a15fbd12f70d269880b37;hpb=ce7d0226198aac42ed311dd2783232adc16b296d diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 005cad6..6ad6fe7 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -526,6 +526,8 @@ static inline struct sk_buff *tun_alloc_skb(struct tun_struct *tun, struct sk_buff *skb; int err; + sock_update_classid(sk); + /* Under a page? Don't bother with paged skb. */ if (prepad + len < PAGE_SIZE || !linear) linear = len;