| .. | .. |
|---|
| 451 | 451 | } |
|---|
| 452 | 452 | #endif |
|---|
| 453 | 453 | |
|---|
| 454 | | -static inline int neigh_hh_output(const struct hh_cache *hh, struct sk_buff *skb) |
|---|
| 454 | +static inline int neigh_hh_output(struct hh_cache *hh, struct sk_buff *skb) |
|---|
| 455 | 455 | { |
|---|
| 456 | 456 | unsigned int hh_alen = 0; |
|---|
| 457 | 457 | unsigned int seq; |
|---|
| .. | .. |
|---|
| 493 | 493 | |
|---|
| 494 | 494 | static inline int neigh_output(struct neighbour *n, struct sk_buff *skb) |
|---|
| 495 | 495 | { |
|---|
| 496 | | - const struct hh_cache *hh = &n->hh; |
|---|
| 496 | + struct hh_cache *hh = &n->hh; |
|---|
| 497 | 497 | |
|---|
| 498 | 498 | if ((n->nud_state & NUD_CONNECTED) && hh->hh_len) |
|---|
| 499 | 499 | return neigh_hh_output(hh, skb); |
|---|
| .. | .. |
|---|
| 534 | 534 | |
|---|
| 535 | 535 | #define NEIGH_CB(skb) ((struct neighbour_cb *)(skb)->cb) |
|---|
| 536 | 536 | |
|---|
| 537 | | -static inline void neigh_ha_snapshot(char *dst, const struct neighbour *n, |
|---|
| 537 | +static inline void neigh_ha_snapshot(char *dst, struct neighbour *n, |
|---|
| 538 | 538 | const struct net_device *dev) |
|---|
| 539 | 539 | { |
|---|
| 540 | 540 | unsigned int seq; |
|---|