diff options
Diffstat (limited to 'net/ipv4/ip_options.c')
-rw-r--r-- | net/ipv4/ip_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_options.c b/net/ipv4/ip_options.c index 5b3d91be2db0..bd246792360b 100644 --- a/net/ipv4/ip_options.c +++ b/net/ipv4/ip_options.c | |||
@@ -264,7 +264,7 @@ int ip_options_compile(struct net *net, | |||
264 | unsigned char *iph; | 264 | unsigned char *iph; |
265 | int optlen, l; | 265 | int optlen, l; |
266 | 266 | ||
267 | if (skb != NULL) { | 267 | if (skb) { |
268 | rt = skb_rtable(skb); | 268 | rt = skb_rtable(skb); |
269 | optptr = (unsigned char *)&(ip_hdr(skb)[1]); | 269 | optptr = (unsigned char *)&(ip_hdr(skb)[1]); |
270 | } else | 270 | } else |