Re: [patch] ipv6: cleanup: remove unneeded null check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dan Carpenter <error27@xxxxxxxxx>
Date: Thu, 29 Apr 2010 16:30:35 +0200

> We dereference "sk" unconditionally elsewhere in the function.  
> 
> This was left over from:  b30bd282 "ip6_xmit: remove unnecessary NULL
> ptr check".  According to that commit message, "the sk argument to 
> ip6_xmit is never NULL nowadays since the skb->priority assigment 
> expects a valid socket."
> 
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Applied, thanks Dan.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux