[IPV6]: Clean up hop-by-hop options handler.
- Removed unused argument (nhoff) for ipv6_parse_hopopts(). - Make ipv6_parse_hopopts() to align with other extension header handlers. - Removed pointless assignment (hdr), which is not used afterwards. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Esse commit está contido em:

commit de
David S. Miller

pai
e5d25a9088
commit
b809739a1b
@@ -230,7 +230,7 @@ extern int ip6_ra_control(struct sock *sk, int sel,
|
||||
void (*destructor)(struct sock *));
|
||||
|
||||
|
||||
extern int ipv6_parse_hopopts(struct sk_buff *skb, int);
|
||||
extern int ipv6_parse_hopopts(struct sk_buff *skb);
|
||||
|
||||
extern struct ipv6_txoptions * ipv6_dup_options(struct sock *sk, struct ipv6_txoptions *opt);
|
||||
extern struct ipv6_txoptions * ipv6_renew_options(struct sock *sk, struct ipv6_txoptions *opt,
|
||||
|
Referência em uma nova issue
Block a user