X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=inline;f=target%2Flinux%2Fgeneric%2Fpatches-3.18%2F630-packet_socket_type.patch;h=61ddea84c6893acd2719cbae696687361c96aa53;hb=83767cf94f909f5932540da7641a12b7dfa71d85;hp=7502a1c3b4ade4dff98d069eb925f9b1bef8acb0;hpb=231ef70f455fcc230a400af90a13e181a2c261cd;p=openwrt-github%2F.git diff --git a/target/linux/generic/patches-3.18/630-packet_socket_type.patch b/target/linux/generic/patches-3.18/630-packet_socket_type.patch index 7502a1c3b4..61ddea84c6 100644 --- a/target/linux/generic/patches-3.18/630-packet_socket_type.patch +++ b/target/linux/generic/patches-3.18/630-packet_socket_type.patch @@ -91,7 +91,7 @@ Signed-off-by: Felix Fietkau if (sock->type == SOCK_PACKET) po->prot_hook.func = packet_rcv_spkt; -@@ -3408,6 +3411,16 @@ packet_setsockopt(struct socket *sock, i +@@ -3409,6 +3412,16 @@ packet_setsockopt(struct socket *sock, i po->xmit = val ? packet_direct_xmit : dev_queue_xmit; return 0; } @@ -108,7 +108,7 @@ Signed-off-by: Felix Fietkau default: return -ENOPROTOOPT; } -@@ -3459,6 +3472,13 @@ static int packet_getsockopt(struct sock +@@ -3460,6 +3473,13 @@ static int packet_getsockopt(struct sock case PACKET_VNET_HDR: val = po->has_vnet_hdr; break;